From ea5d89b47a5424fc81e99934183c0ad7a0cf2426 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 15 Feb 2026 08:41:08 -0800 Subject: Create 'make check' unified workflow and fix various lint issues --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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 } -- cgit v1.2.3