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

Function SetEnabledMapperTag

mapper.go:83–85  ·  view source on GitHub ↗

SetEnabledMapperTag set enabled flag for 'Mapper' tag check if set true, 'Mapper' tag will be check during mapping's GetFieldName default is true

(isEnabled bool)

Source from the content-addressed store, hash-verified

81// if set true, 'Mapper' tag will be check during mapping's GetFieldName
82// default is true
83func SetEnabledMapperTag(isEnabled bool) {
84 standardMapper.SetEnabledMapperTag(isEnabled)
85}
86
87// SetEnabledJsonTag set enabled flag for 'Json' tag check
88// if set true, 'Json' tag will be check during mapping's GetFieldName

Callers 2

mainFunction · 0.92
Test_SetEnableMapperTagFunction · 0.85

Calls 1

SetEnabledMapperTagMethod · 0.65

Tested by 1

Test_SetEnableMapperTagFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…