data

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyMap

func CopyMap(m map[string]interface{}) map[string]interface{}

CopyMap creates a full copy of the target map

func CopySliceOfMaps

func CopySliceOfMaps(s []map[string]interface{}) []interface{}

CopySliceOfMaps creates a full copy of the target slice

func DeepEqual added in v1.10.0

func DeepEqual[T any](a T, b T) bool

func SliceContains

func SliceContains(slice []string, values ...string) bool

SliceContains checks whether values are contained in slice

func ToMap

func ToMap(data interface{}) (map[string]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