Proyectos
Ver en GitHub Config
olebedev/config
Acerca de
Biblioteca envolvente para configuraciones JSON o YAML, con métodos de acceso prácticos.
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalConfig

Package config provides convenient access methods to configuration stored as JSON or YAML.
This is a fork of the original version. This version extends the functionality of the original without losing compatibility. Major features added:
Set(path string, value interface{}) errormethodEnv() *config.Configmethod, for OS environment variables parsingFlag() *config.Configmethod, for command line arguments parsing usign pkg/flag singletonArgs(args ...string) *config.Configmethod, for command line arguments parsingU*methodsCopy(...path) (*config.config, error)methodExtend(*config.Config) (*config.Config, error)methodError() errormethod to show last parsing error, works only with.Args()method
Example and more information you can find here.
Explorar proyectos relacionados
Cargando…