1 parent 44a52a8 commit 2dd87f4Copy full SHA for 2dd87f4
1 file changed
values.go
@@ -320,6 +320,12 @@ func isNullish(value interface{}) bool {
320
if value, ok := value.(string); ok {
321
return value == ""
322
}
323
+ if value, ok := value.(*string); ok {
324
+ if value == nil {
325
+ return true
326
+ }
327
+ return *value == ""
328
329
if value, ok := value.(int); ok {
330
return math.IsNaN(float64(value))
331
0 commit comments