maps

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelsToString

func LabelsToString(labels map[string]string) string

LabelsToString join map label

func MergeLabels

func MergeLabels(old map[string]string, new map[string]string) map[string]string

MergeLabels the new map will overwrite the old one. e.g. new: {"foo": "newbar"} old: {"foo": "bar"} will return {"foo": "newbar"}

Types

type MustMap

type MustMap map[string]interface{}

MustMap Defined TODO

func (*MustMap) MustBool

func (q *MustMap) MustBool(key string) bool

MustBool defined TODO

func (*MustMap) MustFloat32

func (q *MustMap) MustFloat32(key string) float32

MustFloat32 defined TODO

func (*MustMap) MustFloat64

func (q *MustMap) MustFloat64(key string) float64

MustFloat32 defined TODO

func (*MustMap) MustInt

func (q *MustMap) MustInt(key string) int

MustInt defined TODO

func (*MustMap) MustInt64

func (q *MustMap) MustInt64(key string) int64

MustInt64 defined TODO

func (*MustMap) MustString

func (q *MustMap) MustString(key string) string

MustString defined TODO

Jump to

Keyboard shortcuts

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