Popularity
1.4
Growing
Activity
0.0
Stable
10
1
3

Programming language: Go
License: MIT License
Tags: Configuration    

envconf alternatives and similar packages

Based on the "Configuration" category.
Alternatively, view envconf alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of envconf or a related project?

Add another 'Configuration' Package

README

envconf

Configure your Go application from the environment.

Supports most basic Go types and works nicely with the built in flag package.

package main

import(
  "flag"
  "fmt"
  . "github.com/ian-kent/envconf"
)

func main() {
  count := flag.Int("count", FromEnvP("COUNT", 15).(int), "Count target")
  flag.Parse()
  for i := 1; i <= *count; i++ {
    fmt.Printf("%d\n", i)
  }
}

Licence

Copyright ©‎ 2014, Ian Kent (http://iankent.uk).

Released under MIT license, see [LICENSE](LICENSE.md) for details.


*Note that all licence references and agreements mentioned in the envconf README section above are relevant to that project's source code only.