MCPcopy Create free account
hub / github.com/devfeel/mapper / Register

Function Register

mapper.go:136–138  ·  view source on GitHub ↗

Register register struct to init Map

(obj interface{})

Source from the content-addressed store, hash-verified

134
135// Register register struct to init Map
136func Register(obj interface{}) error {
137 return standardMapper.Register(obj)
138}
139
140// GetTypeName get type name
141func GetTypeName(obj interface{}) string {

Callers 5

Test_CheckExistsFieldFunction · 0.85
BenchmarkMapperFunction · 0.85
BenchmarkAutoMapperFunction · 0.85
BenchmarkMapperMapFunction · 0.85

Calls 1

RegisterMethod · 0.65

Tested by 5

Test_CheckExistsFieldFunction · 0.68
BenchmarkMapperFunction · 0.68
BenchmarkAutoMapperFunction · 0.68
BenchmarkMapperMapFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…