chore: remove IsExported

This commit is contained in:
Nao Yonashiro 2022-04-28 20:24:46 +09:00
parent af33c47846
commit 944f8be027
1 changed files with 1 additions and 1 deletions

View File

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