()
| 422 | } |
| 423 | |
| 424 | func (e *errInterfaceNotValidForFieldMapping) Error() string { |
| 425 | return fmt.Sprintf("field mapping from an interface type, but actual type is not struct, struct ptr or map. InterfaceType= %v, ActualType= %v", e.interfaceType, e.actualType) |
| 426 | } |
| 427 | |
| 428 | func checkAndExtractFromMapKey(fromMapKey string, input reflect.Value) (reflect.Value, error) { |
| 429 | key := reflect.ValueOf(fromMapKey) |
nothing calls this directly
no outgoing calls
no test coverage detected