utils

package
v0.0.0-...-abf2cf9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalMapWithTemplate

func MarshalMapWithTemplate(input map[string]string, values map[string]interface{}, debug bool) (string, error)

func PanicOnError

func PanicOnError(message string, err error)

func UnmarshalMapIntoStruct

func UnmarshalMapIntoStruct(input map[string]interface{}, output interface{}, debug bool) error

func UnmarshalMapIntoStructWithTemplate

func UnmarshalMapIntoStructWithTemplate(input map[string]string, output interface{}, contextValues map[string]interface{}, debug bool) error

func UnmarshalStringIntoMap

func UnmarshalStringIntoMap(input string) (map[string]interface{}, error)

func ValidateStruct

func ValidateStruct(s 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