Merge 2515ff8e25d2bc2e3a747ab5904dd88ddb47ea1f into dc3b2476c4eb61c37424a1ca2f46859e4e6fcd81

This commit is contained in:
axxapp 2018-09-09 22:04:13 +00:00 committed by GitHub
commit 688f220024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,9 @@ func (scope *Scope) Fields() []*Field {
) )
for _, structField := range scope.GetModelStruct().StructFields { for _, structField := range scope.GetModelStruct().StructFields {
if structField.IsIgnored {
continue
}
if isStruct { if isStruct {
fieldValue := indirectScopeValue fieldValue := indirectScopeValue
for _, name := range structField.Names { for _, name := range structField.Names {