Categorygithub.com/boljen/go-bitmap
repositorypackage
0.0.0-20151001105940-23cd2fb0ce7d
Repository: https://github.com/boljen/go-bitmap.git
Documentation: pkg.go.dev

# README

Bitmap (Go)

Package bitmap implements (thread-safe) bitmap functions and abstractions

Install

go get github.com/boljen/go-bitmap

Documentation

See godoc

Example

package main

import (
    "fmt"
    "github.com/boljen/go-bitmap"
)

func main() {
    bm := bitmap.New(100)
    bm.Set(0, true)
    fmt.Println(bm.Get(0))
}

License

MIT