2022-01-29 12:29:09 +00:00
|
|
|
package main
|
|
|
|
|
2022-01-29 12:31:31 +00:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"git.purser.it/roypur/envconf"
|
|
|
|
)
|
2022-01-29 12:29:09 +00:00
|
|
|
|
|
|
|
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"))
|
|
|
|
}
|