func (c *Counter) Get() uint64 {
	return atomic.LoadUint64(&c.n)
}
Get returns the current value for c.
package metrics
import (
	"fmt"
	"io"
	"sync/atomic"
)
func NewCounter(name string) *Counter {
	return defaultSet.NewCounter(name)
}
type Counter struct {
	n uint64
}
func (c *Counter) Inc() {
	atomic.AddUint64(&c.n, 1)
}
func (c *Counter) Dec() {
	atomic.AddUint64(&c.n, ^uint64(0))
}
func (c *Counter) Add(n int) {
	atomic.AddUint64(&c.n, uint64(n))
}