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 <github@gone.nl>
  • Loading branch information
thaJeztah committed Dec 16, 2024
1 parent bb5af6e commit 44f94ac
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 44f94ac

Please sign in to comment.