diff --git a/devslog.go b/devslog.go index e7ba8b0..e6acacf 100644 --- a/devslog.go +++ b/devslog.go @@ -603,7 +603,7 @@ func (h *developHandler) elementType(t reflect.Type, v reflect.Value, l int, p i } case reflect.Interface: if v.IsZero() { - b = nilString() + b = h.nilString() } else { v = reflect.ValueOf(v.Interface()) b = h.elementType(v.Type(), v, l, p)