Skip to content

Commit

Permalink
md2man.go: rename ioutil to io
Browse files Browse the repository at this point in the history
  • Loading branch information
kurth4cker committed Sep 9, 2024
1 parent a436f58 commit 7607604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions md2man.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
"io/ioutil"
"io"
"os"

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

doc, err := ioutil.ReadAll(inFile)
doc, err := io.ReadAll(inFile)
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down

0 comments on commit 7607604

Please sign in to comment.