diff --git a/util/config.go b/util/config.go index 1c2f3be..a29b506 100644 --- a/util/config.go +++ b/util/config.go @@ -7,7 +7,7 @@ import ( ) func ReadConfigs(name string) ([]*Config, error) { - file, err := os.Open("configs.json") + file, err := os.Open(name) if err != nil { return nil, err