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

Function AutoMapper

mapper.go:207–209  ·  view source on GitHub ↗

AutoMapper mapper and set value from struct fromObj to toObj support auto register struct

(fromObj, toObj interface{})

Source from the content-addressed store, hash-verified

205// AutoMapper mapper and set value from struct fromObj to toObj
206// support auto register struct
207func AutoMapper(fromObj, toObj interface{}) error {
208 return standardMapper.AutoMapper(fromObj, toObj)
209}

Callers 5

mainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
Test_AutoMapperFunction · 0.85

Calls 1

AutoMapperMethod · 0.65

Tested by 2

Test_AutoMapperFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…