{"id":53489,"library":"fatih-set-v0","title":"Set","description":"Package set provides threadsafe and non-threadsafe implementations of a generic set data structure.","status":"active","version":"0.2.1","language":"go","source_language":null,"source_url":"https://github.com/fatih/set","tags":["set","data-structure","threadsafe"],"install":[{"cmd":"go get gopkg.in/fatih/set.v0","lang":"bash","label":"Install gopkg.in/fatih/set.v0"}],"dependencies":[],"imports":[{"symbol":"set","correct":"gopkg.in/fatih/set.v0"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"gopkg.in/fatih/set.v0\"\n)\n\nfunc main() {\n\ts := set.New()\n\ts.Add(\"a\")\n\ts.Add(\"b\")\n\tfmt.Println(s.Has(\"a\"))\n}","lang":"go","description":"Creates a set and checks membership."},"warnings":[],"env_vars":null,"search_vec":"'data':15,19 'data-structur':18 'generic':13 'implement':10 'non':8 'non-threadsaf':7 'packag':2 'provid':4 'set':1,3,14,17 'structur':16,20 'threadsaf':5,9,21","created_at":"2026-06-15T07:41:28.575195+00:00","updated_at":"2026-06-15T07:41:28.575195+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/fatih/set","github":"https://github.com/fatih/set","docs":"https://pkg.go.dev/gopkg.in/fatih/set.v0#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}}