Discover Packages
github.com/tuantuan11233/influxdb
pkg
tracing
labels
package
Version:
v1.5.2
Opens a new window with list of versions in this module.
Published: Apr 12, 2018
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.