From 0de6ad6e67f2a6a5a4256fcd279f4958b6e146f0 Mon Sep 17 00:00:00 2001 From: Arpad Ryszka Date: Tue, 25 Nov 2025 14:51:23 +0100 Subject: [PATCH] fix field interface --- lib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.go b/lib.go index 3d6a48d..7589453 100644 --- a/lib.go +++ b/lib.go @@ -97,7 +97,7 @@ func (f Field) Name() string { func (f Field) List() bool { return f.list } // Type returns the scalar type of the field. -func (f Field) Type() reflect.Kind { +func (f Field) Type() FieldType { if !f.input { return f.typ }