Searched refs:typeFields (Results 1 – 2 of 2) sorted by relevance
55 for i, field := range typeFields(typ) {152 for i, field := range typeFields(typ) {212 for i, field := range typeFields(typ) {271 func typeFields(typ reflect.Type) []reflect.StructField { func278 if typeFields, ok := typeFieldCache.Load(typ); ok {279 return typeFields.([]reflect.StructField)283 typeFields := make([]reflect.StructField, typ.NumField())285 for i := range typeFields {286 typeFields[i] = typ.Field(i)289 typeFieldCache.Store(typ, typeFields)[all …]
251 for i, srcField := range typeFields(srcType) {291 dstFields := typeFields(dstType)