Closed blaggacao closed 4 years ago
I'm not sure to understand why using viper is so nice, but I'm glad you like it !
I like it because it has a proper config interface with multiple backends. This makes ConfigManagement concerns a little easier and more flexible during deployment workflows.
This has been pain point over at the upstream inspiration project.
I haven't had the chance to play with hydra, yet. Just skimmed over the code. I also like you did choose not to replicate the multi-db registry nonsense.
Maybe looking further, I find a few other easter eggs. :wink:
Since you received the kudos, I'm closing this.
https://github.com/hexya-erp/hexya/blob/86eeb57a7a94211bc474ed8a49dcb8b962189b9d/cmd/server.go#L36