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

Function SetEnabledCustomTag

mapper.go:97–99  ·  view source on GitHub ↗

SetEnabledCustomTag set enabled flag for set custom tag name if set true and set customTagName, the custom tag will be check during mapping's GetFieldName default is false

(isEnabled bool)

Source from the content-addressed store, hash-verified

95// if set true and set customTagName, the custom tag will be check during mapping's GetFieldName
96// default is false
97func SetEnabledCustomTag(isEnabled bool) {
98 standardMapper.SetEnabledCustomTag(isEnabled)
99}
100
101func IsEnabledCustomTag() bool {
102 return standardMapper.IsEnabledCustomTag()

Callers 1

mainFunction · 0.92

Calls 1

SetEnabledCustomTagMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…