Commit 8f1ed072 by bergquist

metrics: 64bit fields should come first in structs

https://golang.org/pkg/sync/atomic/#pkg-note-BUG
parent 21353f4b
......@@ -32,8 +32,8 @@ func RegGauge(name string, tagStrings ...string) Gauge {
// GaugeSnapshot is a read-only copy of another Gauge.
type GaugeSnapshot struct {
*MetricMeta
value int64
*MetricMeta
}
// Snapshot returns the snapshot.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment