justtrackio / gosoline

Gosoline is our framework which fuels all of our Golang applications
MIT License
91 stars 50 forks source link

config: package settings in dedicated settings.go files #1130

Open bt-justtrack opened 1 month ago

bt-justtrack commented 1 month ago

To improve searchability / introspection into where our settings come from for different services we want to move these settings structs into a dedicated settings.go file for each package. Optionally if there are too many settings we want a settings_*.go file structure.

bt-justtrack commented 1 month ago

Note: pkg/kvstore/settings.go features two InMemory(Configuration|Settings) having the same fields but the one used in the constructor does not have defaults set.