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 12ec4ce commit 1f3c062Copy full SHA for 1f3c062
sql.go
@@ -76,7 +76,7 @@ func EscapeInLocation(val interface{}, loc *time.Location) string {
76
return nullStr
77
}
78
79
- if refValue.IsNil() {
+ if refValue.Kind() == reflect.Ptr && refValue.IsNil() {
80
81
82
0 commit comments