News for hackers. Stuff that matters.
Re:A new method of configuration load in Golang by ismdeep on Wednesday December 28, 2022 @03:13AM (#34158766)
Hi, I got a new method of configuration load in golang. As the code show, it allows programmer to set label "config" to describe default value and load value from environment name. But I don't know how to implement it.

It would be very thankful to help me out with TODO part.

Re:A new method of configuration load in Golang by is_taken on Wednesday December 28, 2022 @03:51AM (#34158956)
Re:A new method of configuration load in Golang by geoah on Wednesday December 28, 2022 @04:50AM (#34159288)
My goto would be https://github.com/kelseyhightower/envconfig it’s very simple to use, but doesn’t offer all the bells and whistles like carlos’ env pkg.