Registry / utility / willf-bitset

willf-bitset

JSON →
library1.24.5gogounverified

Package bitset implements bitsets, a mapping between non-negative integers and boolean values.

go get github.com/willf/bitset
INSTALL
IMPORT
SIG · WILLF-BITSET
W
willf-bitset
utilitygov1.24.5
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/willf/bitset

Minimal example showing how to create and use a bitset.

package main import ( "fmt" "github.com/willf/bitset" ) func main() { b := bitset.New(10) b.Set(3) fmt.Println("Bit 3 set:", b.Test(3)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.24.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
willf-bitset — go get willf-bitset · libregistry