cacheKey 生成缓存键
(fromType, toType reflect.Type)
| 29 | |
| 30 | // cacheKey 生成缓存键 |
| 31 | func cacheKey(fromType, toType reflect.Type) string { |
| 32 | return fromType.String() + "->" + toType.String() |
| 33 | } |
| 34 | |
| 35 | // buildFieldMappings 构建字段映射关系 |
| 36 | func buildFieldMappings(fromType, toType reflect.Type) []fieldMapping { |
no test coverage detected
searching dependent graphs…