diff options
Diffstat (limited to 'internal/config.go')
| -rw-r--r-- | internal/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config.go b/internal/config.go index a57ea9e..ec6f6fd 100644 --- a/internal/config.go +++ b/internal/config.go @@ -3,7 +3,7 @@ package internal import ( "encoding/json" "fmt" - "io/ioutil" + "io" "log" "os" ) @@ -27,7 +27,7 @@ func newConfig(configFile string) (config, error) { } defer file.Close() - bytes, err := ioutil.ReadAll(file) + bytes, err := io.ReadAll(file) if err != nil { return conf, err } |
