This commit is contained in:
MarkJoyMa
2023-03-02 21:53:05 +08:00
committed by kevin
parent 52265087d1
commit e964e530e1

View File

@@ -33,7 +33,7 @@ type fieldInfo struct {
}
// FillDefault fills the default values for the given v,
// and the premise is that the value of v must be guaranteed to be empty
// and the premise is that the value of v must be guaranteed to be empty.
func FillDefault(v any) error {
return fillDefaultUnmarshaler.Unmarshal(map[string]any{}, v)
}