mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 01:38:30 +02:00
updated deserialize method to support validation
This commit is contained in:
@@ -36,7 +36,7 @@ func NearestField(input string, s any) string {
|
||||
fields[i] = key.String()
|
||||
}
|
||||
default:
|
||||
panic("unsupported type: " + t.String())
|
||||
panic("NearestField unsupported type: " + t.String())
|
||||
}
|
||||
}
|
||||
for _, field := range fields {
|
||||
|
||||
Reference in New Issue
Block a user