Skip to content

Commit

Permalink
chore: use io instead of ioutil
Browse files Browse the repository at this point in the history
ioutil is deprecated in favor of io
  • Loading branch information
sfinnman authored and sfinnman committed Oct 11, 2022
1 parent c7e8d9a commit 9baf259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
"io/ioutil"
"io"
"os"
"path/filepath"

Expand All @@ -19,7 +19,7 @@ func main() {
}

func run() error {
in, err := ioutil.ReadAll(os.Stdin)
in, err := io.ReadAll(os.Stdin)
if err != nil {
return err
}
Expand Down

0 comments on commit 9baf259

Please sign in to comment.