Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
adaptconf/ | H | 17-Apr-2017 | - | |||
adaptenv/ | H | 17-Apr-2017 | - | |||
adaptflag/ | H | 17-Apr-2017 | - | |||
cflag/ | H | 17-Apr-2017 | - | |||
cstruct/ | H | 17-Apr-2017 | - | |||
exampleapp/ | H | 17-Apr-2017 | - | |||
exampleapp2/ | H | 17-Apr-2017 | - | |||
manual/ | H | 17-Apr-2017 | - | |||
README.md | H A D | 17-Apr-2017 | 1.4 KiB | |||
easyconfig.go | H A D | 17-Apr-2017 | 2.1 KiB |
README.md
1easyconfig: Easy bindings for configurable 2========================================== 3 4[![GoDoc](https://godoc.org/gopkg.in/hlandau/easyconfig.v1?status.svg)](https://godoc.org/gopkg.in/hlandau/easyconfig.v1) 5 6easyconfig provides utilities for use with 7[configurable](https://github.com/hlandau/configurable). It makes it easy to 8get started with configurable using familiar interfaces. 9 10Import as: `gopkg.in/hlandau/easyconfig.v1` 11 12Packages provided 13----------------- 14 15The `cflag` package allows you to easily declare configuration items in a flag-like manner. 16 17The `cstruct` package allows you to automatically generate configuration items from an annotated structure. 18 19The `adaptflag` package adapts declared configuration items to flags and 20registers them with the standard flag package and the 21[pflag](https://github.com/ogier/pflag) package. You can also use it with any 22flag package you like if it implements a similar registration interface. 23 24The `easyconfig` package itself provides a simple struct-based configuration 25interface; see the documentation in the examples. 26 27Licence 28------- 29 30 © 2015 Hugo Landau <hlandau@devever.net> MIT License 31 © 2017 Google, Inc. 32 33[Licenced under the licence with SHA256 hash 34`fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc`, a copy of 35which can be found 36here.](https://raw.githubusercontent.com/hlandau/acme/master/_doc/COPYING.MIT) 37