Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isayme/go-bitmap
https://github.com/isayme/go-bitmap
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/isayme/go-bitmap
- Owner: isayme
- License: mit
- Created: 2018-06-29T09:21:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-30T04:04:36.000Z (over 6 years ago)
- Last Synced: 2024-06-20T10:23:47.386Z (6 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Bitmap
A bitmap implement in Go.
[![Build Status](https://travis-ci.org/isayme/go-bitmap.svg?branch=master)](https://travis-ci.org/isayme/go-bitmap)
[![Coverage Status](https://coveralls.io/repos/github/isayme/go-bitmap/badge.svg?branch=master)](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))
}
```