add constructors

This commit is contained in:
2022-03-27 14:14:43 +02:00
parent 113ff46fee
commit 4520530b7f
2 changed files with 187 additions and 9 deletions

View File

@ -11,7 +11,7 @@ func main() {
conf.DefineMap("test_map", envconf.TypeInt)
conf.Parse()
conf.Status()
fmt.Println(conf)
fmt.Println(conf.GetMapInt("test_map"))
fmt.Println(conf.GetInt("this_is_a_map"))
}