Skip to content

Commit

Permalink
Revert "md2man.go: rename ioutil to io" for compat with go <= 1.17
Browse files Browse the repository at this point in the history
This reverts commit 7607604.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Dec 15, 2024
1 parent 52e74c4 commit 60465c3
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"
"io/ioutil"
"os"

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

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

0 comments on commit 60465c3

Please sign in to comment.