mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
isZero
This commit is contained in:
@ -41,9 +41,7 @@ func DeepCopy() optionFunc {
|
||||
}
|
||||
|
||||
func SkipField(field string) optionFunc {
|
||||
return func(o *option) {
|
||||
o.SkipFields = append(o.SkipFields, field)
|
||||
}
|
||||
return SkipFields([]string{field})
|
||||
}
|
||||
|
||||
func SkipFields(fields []string) optionFunc {
|
||||
|
Reference in New Issue
Block a user