diff options
Diffstat (limited to 'config/config.go')
| -rw-r--r-- | config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index ad7ebd1..16b4daa 100644 --- a/config/config.go +++ b/config/config.go @@ -1,7 +1,7 @@ package config import ( - "io/ioutil" + "os" "gopkg.in/yaml.v2" ) @@ -28,7 +28,7 @@ func Init(filename string) error { } func readConfig(filename string) error { - file, err := ioutil.ReadFile(filename) + file, err := os.ReadFile(filename) if err != nil { return err } |
