envconf/tests/main.go

14 lines
233 B
Go
Raw Normal View History

2022-01-29 12:29:09 +00:00
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"))
}