envconf/tests/main.go
2022-01-29 13:29:09 +01:00

14 lines
233 B
Go

package main
import ("git.purser.it/roypur/envconf"
"fmt")
func main() {
conf := envconf.NewConfig()
conf.Define("this_is_a_map", envconf.FixedHex(22))
conf.Parse()
conf.Status()
fmt.Println(conf.GetHex("this_is_a_map"))
}