Discover Packages
github.com/shotgun-20/influxdb
pkg
tracing
labels
package
Version:
v1.7.671
Opens a new window with list of versions in this module.
Published: Nov 11, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Label struct {
Key, Value string
}
The Labels type represents a set of labels, sorted by Key.
New takes an even number of strings representing key-value pairs
and creates a new slice of Labels. Duplicates are removed, however,
there is no guarantee which will be removed
Merge merges other with the current set, replacing any matching keys from other.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.