replace

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedType = fmt.Errorf("unsupported type")

ErrUnsupportedType :

Functions

func ByMap

func ByMap(data interface{}, refMap map[string]interface{}) (interface{}, error)

ByMap replace data by map

func ByPalette

func ByPalette(data interface{}, refs []string, palette interface{}) (interface{}, error)

ByPalette replace data by reference array and palette

Types

This section is empty.

Jump to

Keyboard shortcuts

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