util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString added in v0.1.21

func ContainsString(list []string, val string) bool

func DeepCopy added in v0.2.3

func DeepCopy(a map[string]string) map[string]string

func DeepCopyListUint32 added in v0.2.3

func DeepCopyListUint32(list []uint32) []uint32

func Equal added in v0.2.3

func Equal(a map[string]string, b map[string]string) bool

func GetOrDefault

func GetOrDefault(m map[string]float64, key string, def float64) float64

func MergeMaps added in v0.2.3

func MergeMaps(a map[string]string, b map[string]string) map[string]string

func NewULID

func NewULID() string

func StringListToSet

func StringListToSet(list []string) map[string]bool

func SubtractStringList

func SubtractStringList(a []string, b []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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