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 (
"encoding/json"
"io/ioutil"
"io"
"os"
)
@ -43,7 +43,7 @@ func ReadConfig(path string) (Config, error) {
defer file.Close()
// read file
bytes, err := ioutil.ReadAll(file)
bytes, err := io.ReadAll(file)
if err != nil {
return config, err
}