add debug print

This commit is contained in:
Roy Olav Purser 2021-03-24 16:05:45 +01:00
parent f7739c6513
commit bf5beb9d70
No known key found for this signature in database
GPG Key ID: 0BA77797F072BC52

View File

@ -29,6 +29,7 @@ func parseDuration(key string, str string)(ret cValue) {
func parseBool(key string, str string)(ret cValue) { func parseBool(key string, str string)(ret cValue) {
val, err := strconv.ParseBool(str) val, err := strconv.ParseBool(str)
fmt.Printf("str = (%s)\n", str)
fmt.Println(val) fmt.Println(val)
if err == nil { if err == nil {
ret.boolval = val ret.boolval = val