tree: 2714deca487f4ed72599f031cfa5ac9beece0f9f [path history] [tgz]
  1. LICENSE
  2. README.md
  3. atomic.go
  4. bitmap.go
  5. uintmap.go
vendor/github.com/boljen/go-bitmap/README.md

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