Discover Packages
github.com/nan0503/influxdb
pkg
tracing
labels
package
Version:
v1.7.9
Opens a new window with list of versions in this module.
Published: Oct 27, 2019
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.