xmap

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneMap

func CloneMap(src map[string]interface{}) (map[string]interface{}, error)

func CoverInterfaceToStringMap

func CoverInterfaceToStringMap(src map[string]interface{})

func DeepSearchInMap

func DeepSearchInMap(m map[string]interface{}, paths ...string) interface{}

DeepSearchInMap deep search in map

func Marshal

func Marshal(obj interface{}) map[string]interface{}

func MergeKVMap

func MergeKVMap(dest map[string]string, src ...map[string]string)

func MergeStringMap

func MergeStringMap(dest map[string]interface{}, src ...map[string]interface{})

MergeStringMap merge two map

func ToMapStringInterface

func ToMapStringInterface(src map[interface{}]interface{}) map[string]interface{}

ToMapStringInterface cast map[interface{}]interface{} to map[string]interface{}

func Unmarshal

func Unmarshal(in interface{}, out 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