Searched refs:unpackContext (Results 1 – 1 of 1) sorted by relevance
47 type unpackContext struct { struct70 var unpackContext unpackContext71 unpackContext.propertyMap = make(map[string]*packedProperty)72 if !unpackContext.buildPropertyMap("", properties) {73 return nil, unpackContext.errs82 unpackContext.unpackToStruct("", valueObject.Elem())83 if len(unpackContext.errs) >= maxUnpackErrors {84 return nil, unpackContext.errs92 for name, v := range unpackContext.propertyMap {99 if len(unusedNames) == 0 && len(unpackContext.errs) == 0 {[all …]