Skip to content

Commit 7607604

Browse files
committed
md2man.go: rename ioutil to io
1 parent a436f58 commit 7607604

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

md2man.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"flag"
55
"fmt"
6-
"io/ioutil"
6+
"io"
77
"os"
88

99
"github.com/cpuguy83/go-md2man/v2/md2man"
@@ -28,7 +28,7 @@ func main() {
2828
}
2929
defer inFile.Close() // nolint: errcheck
3030

31-
doc, err := ioutil.ReadAll(inFile)
31+
doc, err := io.ReadAll(inFile)
3232
if err != nil {
3333
fmt.Println(err)
3434
os.Exit(1)

0 commit comments

Comments
 (0)