common

package
v0.0.0-...-984cbf5 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(slice []string, value string) bool

func MarshalInts

func MarshalInts(values []int64) []byte

func MarshalStringMap

func MarshalStringMap(values map[string]string) []byte

func MarshalStrings

func MarshalStrings(values []string) []byte

func RandomDuration

func RandomDuration(min time.Duration, max time.Duration) time.Duration

func UnmarshalInts

func UnmarshalInts(bytes []byte) ([]int64, error)

func UnmarshalStringMap

func UnmarshalStringMap(bytes []byte) (map[string]string, error)

func UnmarshalStrings

func UnmarshalStrings(bytes []byte) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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