measurementprotocol

package
v0.1.33 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStringMap added in v0.1.5

func AddStringMap(t map[string]string, k string, v *string)

func Get

func Get[T any](v *T) T

func GetDefault

func GetDefault[T any](v *T, fallback T) T

func Set

func Set[T any](v T) *T

func SetBool

func SetBool(v bool) *string

func SetFloat32

func SetFloat32(v float32) *string

func SetFloat64

func SetFloat64(v float64) *string

func SetInt

func SetInt(v int) *string

func SetInt32

func SetInt32(v int32) *string

func SetInt64

func SetInt64(v int64) *string

func SetString

func SetString(v string) *string

func SetStringMap added in v0.1.5

func SetStringMap(v map[string]string) map[string]string

func SetUInt

func SetUInt(v uint) *string

func SetUInt32

func SetUInt32(v uint32) *string

func SetUInt64

func SetUInt64(v uint64) *string

Types

This section is empty.

Directories

Path Synopsis
v2

Jump to

Keyboard shortcuts

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