Skip to content

Commit

Permalink
Merge pull request #125 from kurth4cker/master
Browse files Browse the repository at this point in the history
md2man.go: rename ioutil to io
  • Loading branch information
thaJeztah authored Sep 12, 2024
2 parents 5e88164 + 7607604 commit 4013a69
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 4013a69

Please sign in to comment.