utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyValue

func KeyValue(kv attribute.KeyValue) *common.KeyValue

func KeyValues

func KeyValues(attrs []attribute.KeyValue) []*common.KeyValue

func Value

func Value(v attribute.Value) *common.AnyValue

func ValueFromGo

func ValueFromGo(v interface{}) *common.AnyValue

Types

type Float

type Float interface {
	~float32 | ~float64
}

type Int

type Int interface {
	~int | ~uint | ~int32 | ~uint32 | ~int64 | ~uint64
}

Jump to

Keyboard shortcuts

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