Help us shape the future of Go! Take the 2026 Go Developer Survey

assign

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 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.

Jump to

Keyboard shortcuts

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