We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02e36e commit ce1c956Copy full SHA for ce1c956
util.go
@@ -42,5 +42,5 @@ func parseBool(str string) (bool, error) {
42
43
// strconv.NumError mimicing exactly the strconv.ParseBool(..) error and type
44
// to ensure compatibility with std library and beyond.
45
- return false, &strconv.NumError{"ParseBool", str, strconv.ErrSyntax}
+ return false, &strconv.NumError{Func: "ParseBool", Num: str, Err: strconv.ErrSyntax}
46
}
0 commit comments