//CounterAdd makes thread safe counter func CounterAdd(counter *util.Counter, value int) { counter.Add(int64(value)) }