package label

Import Path
	internal/runtime/pprof/label (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 2 packages

Involved Source Files Package label provides common declarations used by both the [runtime] and [runtime/pprof] packages. The [Set] type is used for goroutine labels, and is duplicated as [runtime/pprof.LabelSet]. The type is duplicated due to go.dev/issue/65437 preventing the use of a type-alias in an existing public interface.
Package-Level Type Names (total 2)
/* sort by: | */
Label is a key/value pair of strings. Key string Value string func NewSet(list []Label) Set
Set is a set of labels. List []Label func NewSet(list []Label) Set
Package-Level Functions (only one)
NewSet constructs a LabelSet that wraps the provided labels.