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

16 lines
235 B
Go

package main
import (
"fmt"
"git.purser.it/roypur/envconf"
)
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"))
}