Help us shape the future of Go! Take the 2026 Go Developer Survey

attributekey

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool = Type[bool]

type Float64

type Float64 = Type[float64]

type Int

type Int = Type[int]

type Int64

type Int64 = Type[int64]

type String

type String = Type[string]

type Type

type Type[T ValueType] string

func (Type[T]) With

func (key Type[T]) With(val T) attribute.KeyValue

type ValueType

type ValueType interface {
	string | bool | int64 | int | float64 |
		[]string | []bool | []int64 | []int | []float64
}

Jump to

Keyboard shortcuts

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