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, both are exported)
Set is a set of labels.
List []Label
func NewSet(list []Label) Set
func runtime/pprof.mergeLabelSets(left Set, right pprof.LabelSet) Set
func runtime/pprof.mergeLabelSets(left Set, right pprof.LabelSet) Set
Package-Level Functions (only one, which is exported)
NewSet constructs a LabelSet that wraps the provided labels.
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)