This commit is contained in:
Illya Marchenko 2024-03-29 23:22:46 +02:00
parent de4369997d
commit f43981bd99
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

@ -2,7 +2,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"io/ioutil" "io"
"os" "os"
) )
@ -43,7 +43,7 @@ func ReadConfig(path string) (Config, error) {
defer file.Close() defer file.Close()
// read file // read file
bytes, err := ioutil.ReadAll(file) bytes, err := io.ReadAll(file)
if err != nil { if err != nil {
return config, err return config, err
} }