Code cleanup

This commit is contained in:
Jacob Gunther
2022-08-24 03:48:09 -05:00
parent d8ee96413a
commit 1d23a97732
4 changed files with 72 additions and 71 deletions

View File

@@ -1,7 +1,7 @@
package main
import (
"io/ioutil"
"os"
"time"
"gopkg.in/yaml.v3"
@@ -20,7 +20,7 @@ type Config struct {
}
func (c *Config) ReadFile(file string) error {
data, err := ioutil.ReadFile(file)
data, err := os.ReadFile(file)
if err != nil {
return err