Documentation
      ¶
    
    
  
    
  
    Index ¶
- func GetFieldNameFromArrayRef(arrayRef string) string
 - func GetMapToAttrName(field *field.MappingField) (string, error)
 - func GetMapToPathFields(mapField *field.MappingField) (*field.MappingField, error)
 - func GetValueFromOutputScope(mapfield *field.MappingField, outputtscope data.Scope) (interface{}, error)
 - func HasArray(fieldname string) bool
 - func IsArrayMapping(ref string) bool
 - type ArrayRef
 - type MappingRef
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapToAttrName ¶ added in v0.5.8
func GetMapToAttrName(field *field.MappingField) (string, error)
func GetMapToPathFields ¶ added in v0.5.8
func GetMapToPathFields(mapField *field.MappingField) (*field.MappingField, error)
func GetValueFromOutputScope ¶ added in v0.5.8
func GetValueFromOutputScope(mapfield *field.MappingField, outputtscope data.Scope) (interface{}, error)
func IsArrayMapping ¶
Types ¶
type ArrayRef ¶
type ArrayRef struct {
	// contains filtered or unexported fields
}
    func NewArrayRef ¶
func (*ArrayRef) EvalFromData ¶
type MappingRef ¶
type MappingRef struct {
	// contains filtered or unexported fields
}
    func NewMappingRef ¶
func NewMappingRef(ref string) *MappingRef
func (*MappingRef) GetRef ¶
func (m *MappingRef) GetRef() string
 Click to show internal directories. 
   Click to hide internal directories.