Package bitmap implements (thread-safe) bitmap functions and abstractions
go get github.com/boljen/go-bitmap
See godoc
package main
import (
"fmt"
"github.com/boljen/go-bitmap"
)
func main() {
bm := bitmap.New(100)
bm.Set(0, true)
fmt.Println(bm.Get(0))
}
MIT