forked from mirror/go-json
chore: remove IsExported
This commit is contained in:
parent
af33c47846
commit
944f8be027
|
@ -17,7 +17,7 @@ func IsIgnoredStructField(field reflect.StructField) bool {
|
|||
if t.Kind() == reflect.Ptr {
|
||||
t = t.Elem()
|
||||
}
|
||||
if !field.IsExported() && t.Kind() != reflect.Struct {
|
||||
if t.Kind() != reflect.Struct {
|
||||
return true
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue