I like your blueprint. I know the purpose of the blueprint is not about config but I think there is an issue in your viper usage. Without changing anything I created an image make container OS=linux, then I tried to create a docker container but I run to the following error.
I like your blueprint. I know the purpose of the blueprint is not about config but I think there is an issue in your viper usage. Without changing anything I created an image
make container OS=linux
, then I tried to create a docker container but I run to the following error.I guess one can do
Config.DSN = v.Get("DSN").(string)
only after config has read. I may be wrong.