Searched refs:typeFields (Results 1 – 3 of 3) sorted by relevance
55 for i, field := range typeFields(typ) {168 for i, field := range typeFields(typ) {228 for i, field := range typeFields(typ) {287 func typeFields(typ reflect.Type) []reflect.StructField { func294 if typeFields, ok := typeFieldCache.Load(typ); ok {295 return typeFields.([]reflect.StructField)299 typeFields := make([]reflect.StructField, typ.NumField())301 for i := range typeFields {302 typeFields[i] = typ.Field(i)305 typeFieldCache.Store(typ, typeFields)[all …]
157 return isStruct(t) && t.NumField() > 0 && typeFields(t)[0].Type == configurableMarkerType
267 for i, srcField := range typeFields(srcType) {304 dstFields := typeFields(dstType)