util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertMapKeyExists

func AssertMapKeyExists(object map[string]interface{}, key string) error

AssertMapKeyExists check wheter or not map contains a key

func AssertMapKeyIsInterfaceArray

func AssertMapKeyIsInterfaceArray(object map[string]interface{}, key string, notEmpty bool) error

AssertMapKeyIsInterfaceArray check whether or not map contains a key

func AssertMapKeyIsString

func AssertMapKeyIsString(object map[string]interface{}, key string, notEmpty bool) error

AssertMapKeyIsString check wheter or not map contains a key

func AssertMapKeyIsStringMap

func AssertMapKeyIsStringMap(object map[string]interface{}, key string, notEmpty bool) error

AssertMapKeyIsStringMap check whether or not map contains a key

func CombineErrors

func CombineErrors(errors []error) error

CombineErrors combine array of errors into one

func CreateDirs

func CreateDirs(dirPaths ...string) error

CreateDirs create directories

Types

This section is empty.

Jump to

Keyboard shortcuts

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