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
- Host: GitHub
- URL: https://github.com/alidevhere/go-safe-counter
- Owner: alidevhere
- Created: 2023-02-06T23:09:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T16:56:17.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T11:57:47.933Z (over 1 year ago)
- Topics: concurency, concurrency-support, concurrent-data-structure, counter, go-routine-safe
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```