Ejemplo n.º 1
0
//CounterValue makes thread safe counter
func CounterValue(counter *util.Counter) int {
	return int(counter.Value())
}