Discover Packages
github.com/ivopetiz/influxdb
pkg
tracing
labels
package
Version:
v0.0.0-...-d6600b6
Opens a new window with list of versions in this module.
Published: Jul 28, 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.