1
0

fix field interface

This commit is contained in:
Arpad Ryszka 2025-11-25 14:51:23 +01:00
parent 3443251be2
commit 0de6ad6e67

2
lib.go
View File

@ -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
}