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 a649fc7 commit 70ef53dCopy full SHA for 70ef53d
reflect.go
@@ -43,7 +43,7 @@ func valueToStr(v reflect.Value) (str string) {
43
case reflect.Int:
44
str = strconv.FormatInt(v.Int(), 10)
45
default:
46
- panic(fmt.Sprintf("valueToStr: %v is of unexpected kind %q", v.Interface(), v.Kind()))
+ panic(fmt.Sprintf("valueToStr: %v is of unexpected kind %q", v, v.Kind()))
47
}
48
return
49
0 commit comments