add debug print
This commit is contained in:
parent
f7739c6513
commit
bf5beb9d70
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user