It's both awesome and scary how time flies. It feels like only a few days since the first version of goconfig was released. I barely blinked a couple of times, and here we are 10 years later. "Because some things never change, and some things do."
Cheers everyone! El sábado, 30 de julio de 2016 a las 4:33:21 UTC+2, [email protected] escribió: > Docopt seems awesome. > > https://github.com/docopt/docopt.go > > Satyam > > > On Tuesday, July 26, 2016 at 11:16:03 PM UTC-7, Gerardo Oscar JT wrote: >> >> Maybe too simple, maybe there are several solutions, but here >> https://github.com/fulldump/goconfig is a configuration library to avoid >> the over-verbosity of flag library. It also allow load configuration from a >> json file. >> >> It works like this: >> >> type myconfig struct { >> Name string `The name of something` >> EnableLog bool `Enable logging into logdb` >> MaxProcs int `Maximum number of procs` >> } >> >> c := &myconfig{ >> EnableLog: true, >> } >> >> goconfig.Read(c) >> >> >> Goconf is very useful in my projects, maybe it could be useful for others >> too. >> > -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/05a4a438-59ce-4995-a332-6b4b83962627n%40googlegroups.com.
