Chatterino/api

cfg should not be a singleton in main package

pajlada opened this issue · 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