assign

package
Version: v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMappingValue

func GetMappingValue(mappingV interface{}, inputScope data.Scope, resolver data.Resolver) (interface{}, error)

func MapAssign

func MapAssign(mapping *data.MappingDef, inputScope, outputScope data.Scope, resolver data.Resolver) error

func SetAttribute

func SetAttribute(fieldName string, value interface{}, outputScope data.Scope) error

func SetPathValue

func SetPathValue(value interface{}, mapField *field.MappingField, attrvalue interface{}) (interface{}, error)

func SetValueToOutputScope

func SetValueToOutputScope(mapTo string, outputScope data.Scope, value interface{}) error

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL