An open API service indexing awesome lists of open source software.

https://github.com/alidevhere/go-safe-counter

Go safe counter is a counter which can be used by multiple go routines at same time
https://github.com/alidevhere/go-safe-counter

concurency concurrency-support concurrent-data-structure counter go-routine-safe

Last synced: 28 days ago
JSON representation

Go safe counter is a counter which can be used by multiple go routines at same time

Awesome Lists containing this project

README

          

# Go Safe Counter:

Go safe counter is a counter which can be used by multiple go routines at same time.

It implements generics so counter can be of any type which can be incremented or decremented i.e int,uint64,float etc.

## Use:

```
go get github.com/alidevhere/go-safe-counter

```