Skip to content

Commit

Permalink
moved config into subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
danfeldmann committed Feb 4, 2024
1 parent 9b405c8 commit ea4d4fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
)

func init() {
cfg = config.Load("config.yml")
cfg = config.Load("data/config.yml")
flag.Parse()
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module gshlan/gshbot
go 1.21.5

require (
github.com/knadh/koanf/parsers/yaml v0.1.0
github.com/knadh/koanf/v2 v2.0.1
github.com/mmcdole/gofeed v1.2.1
github.com/tidwall/gjson v1.17.0
Expand Down Expand Up @@ -34,7 +35,6 @@ require (
require (
github.com/bwmarrin/discordgo v0.27.1
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/parsers/yaml v0.1.0
github.com/knadh/koanf/providers/file v0.1.0
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
Expand Down

0 comments on commit ea4d4fa

Please sign in to comment.