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

Method GetFieldName

mapper_object.go:206–208  ·  view source on GitHub ↗

GetFieldName get fieldName with ElemValue and index if config tag string, return tag value

(objElem reflect.Value, index int)

Source from the content-addressed store, hash-verified

204// GetFieldName get fieldName with ElemValue and index
205// if config tag string, return tag value
206func (dm *mapperObject) GetFieldName(objElem reflect.Value, index int) string {
207 return dm.getFieldName(objElem, index)
208}
209
210func (dm *mapperObject) GetDefaultTimeWrapper() *TimeWrapper {
211 return dm.DefaultTimeWrapper

Callers

nothing calls this directly

Calls 1

getFieldNameMethod · 0.95

Tested by

no test coverage detected