Wow incredible huge library with a lot of options, even with its own parser! It is also possible to build hierarchical commands (like git) I see that more like a thing to be human friendly, the human is constantly interacting with commands.
goconfig (well, this goconfig, there are 39 repositories called goconfig) is to cover easily the typical server with a bunch of different config variables like the database, listening port, etc. and the option to load all from a file. Attempting to be very simple to use and with code easy to read and understand. El viernes, 29 de julio de 2016, 15:49:02 (UTC+2), Tong Sun escribió: > > > > On Wednesday, July 27, 2016 at 3:19:39 PM UTC-4, Gerardo Oscar JT wrote: >> >> ... I have been looking at some of them and probably fulldump/goconfig >> has the best logo :) And also it is the most generic and simpler one with >> default values > json values > cli values precedence. >> > > Not trying to steal other's thunder, but just to provide yet another > useful one for you to consider, > > For config via json or even environment variables (and many others more), > take a look at > > > https://github.com/suntong/lang/tree/master/lang/Go/src/sys/CLI#017-jsonfilego > > and > > > https://github.com/suntong/lang/tree/master/lang/Go/src/sys/CLI/027-global-redo > > Not mine, but I myself found it most useful. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.