https://github.com/isayme/go-bitmap
https://github.com/isayme/go-bitmap
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/isayme/go-bitmap
- Owner: isayme
- License: mit
- Created: 2018-06-29T09:21:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-30T04:04:36.000Z (about 7 years ago)
- Last Synced: 2025-03-25T10:02:27.163Z (4 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Bitmap
A bitmap implement in Go.
[](https://travis-ci.org/isayme/go-bitmap)
[](https://coveralls.io/github/isayme/go-bitmap?branch=master)## Example
```
package mainimport (
"fmt"bitmap "github.com/isayme/go-bitmap"
)func main() {
bitmap := bitmap.New()bitmap.Set(1)
fmt.Println(bitmap.Has(1))
fmt.Println(bitmap.Has(2))
}
```