{"id":51149,"library":"willf-bitset","title":"Bitset","description":"Package bitset implements bitsets, a mapping between non-negative integers and boolean values.","status":"active","version":"1.24.5","language":"go","source_language":null,"source_url":"https://github.com/willf/bitset","tags":["bitset","bitmap","data-structure","set"],"install":[{"cmd":"go get github.com/willf/bitset","lang":"bash","label":"Install github.com/willf/bitset"}],"dependencies":[],"imports":[{"symbol":"bitset","correct":"github.com/willf/bitset"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/willf/bitset\"\n)\n\nfunc main() {\n\tb := bitset.New(10)\n\tb.Set(3)\n\tfmt.Println(\"Bit 3 set:\", b.Test(3))\n}","lang":"go","description":"Minimal example showing how to create and use a bitset."},"warnings":[],"env_vars":null,"search_vec":"'bitmap':17 'bitset':1,3,5,16 'boolean':14 'data':19 'data-structur':18 'implement':4 'integ':12 'map':7 'negat':11 'non':10 'non-neg':9 'packag':2 'set':21 'structur':20 'valu':15","created_at":"2026-06-15T06:01:49.571585+00:00","updated_at":"2026-06-15T06:01:49.571585+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/willf/bitset","github":"https://github.com/willf/bitset","docs":"https://pkg.go.dev/github.com/willf/bitset#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}