diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 08:41:08 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 08:41:08 -0800 |
| commit | ea5d89b47a5424fc81e99934183c0ad7a0cf2426 (patch) | |
| tree | f18664d9ef5a7b606896034027e6d3331fdad92b /config | |
| parent | d4f19ac62f203314fb3e2d4b3afea3d87bbbfe63 (diff) | |
| download | neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.gz neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.bz2 neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.zip | |
Create 'make check' unified workflow and fix various lint issues
Diffstat (limited to 'config')
| -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 } |
