divanUtils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayContains

func ArrayContains(a []string, c string) bool

func Convert

func Convert(ptra interface{}, ptrb interface{}) error

func Flatten

func Flatten(params map[string]interface{}, parentKey string) map[string]interface{}

Each nested key will be extracted as a top level key. eg: {k1 : val1, k2: {k21: val21}} is flattened as {k1: val1, k2.k21: val21}

func GetTypeAndValue

func GetTypeAndValue(v interface{}) (reflect.Type, reflect.Value, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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