MCPcopy Index your code
hub / github.com/devfeel/mapper / cacheKey

Function cacheKey

mapper_func.go:31–33  ·  view source on GitHub ↗

cacheKey 生成缓存键

(fromType, toType reflect.Type)

Source from the content-addressed store, hash-verified

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

Callers 2

getFieldMappingsFunction · 0.85
buildFieldMappingsFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…