From 79be22e377e1a3f390d42a627d709250cbdb4e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sedl=C3=A1=C4=8Dek?= Date: Fri, 20 Sep 2024 10:06:52 +0200 Subject: [PATCH] fix --- devslog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)