Registry / utility / tmthrgd-go-bitset

tmthrgd-go-bitset

JSON →
library0.0.0-20190904054048-394d9a556c05gogounverified

Package bitset implements a bitset data structure for Go.

go get github.com/tmthrgd/go-bitset
INSTALL
IMPORT
SIG · TMTHRGD-GO-BITSET
T
tmthrgd-go-bitset
utilitygov0.0.0-20190904054048-394d9a556c05
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bitset
github.com/tmthrgd/go-bitset

Create a bitset, set a bit, and check it

package main import ( "fmt" "github.com/tmthrgd/go-bitset" ) func main() { bs := bitset.New(64) bs.Set(10) fmt.Println(bs.IsSet(10)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190904054048-394d9a556c05latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
tmthrgd-go-bitset — go get tmthrgd-go-bitset · libregistry