pajlada opened this issue 4 years ago · 0 comments
Right now, cfg is a singleton defined in cmd/api/main.go. This should instead be loaded inside the main() function and passed through to where needed
cfg
cmd/api/main.go