Artemis | Blog | Portfolio | About & Contact

2018 / 12 / 04 (raw)

Go, viper config: but why?

I've been going back to golang a bit, and while I found myself comfortable with a lot of nice things, I had to use the viper configuration library.

It's a decent library, but why the fuck is a configuration file required, even empty? I'm sourcing everything from my environment settings, so why should I absolutely provide a configuration file?

It doesn't make any sense.