{"id":17746653,"url":"https://github.com/trivigy/set","last_synced_at":"2025-04-01T03:43:55.443Z","repository":{"id":57519097,"uuid":"177250601","full_name":"trivigy/set","owner":"trivigy","description":"Implementation of the set data structure","archived":false,"fork":false,"pushed_at":"2020-03-22T23:26:48.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T01:58:16.182Z","etag":null,"topics":["algorithm","data-structure","go","set"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trivigy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-23T06:00:06.000Z","updated_at":"2020-03-22T23:26:35.000Z","dependencies_parsed_at":"2022-09-06T03:42:13.350Z","dependency_job_id":null,"html_url":"https://github.com/trivigy/set","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trivigy%2Fset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trivigy%2Fset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trivigy%2Fset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trivigy%2Fset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trivigy","download_url":"https://codeload.github.com/trivigy/set/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246580461,"owners_count":20800108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","data-structure","go","set"],"created_at":"2024-10-26T08:08:10.355Z","updated_at":"2025-04-01T03:43:55.423Z","avatar_url":"https://github.com/trivigy.png","language":"Go","readme":"# Set\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trivigy/set/master.svg?label=master\u0026logo=circleci)](https://circleci.com/gh/trivigy/workflows/set)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md)\n[![](https://godoc.org/github.com/trivigy/set?status.svg\u0026style=flat)](https://pkg.go.dev/github.com/trivigy/set)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/trivigy/set.svg?style=flat\u0026color=e36397\u0026label=release)](https://github.com/trivigy/set/releases/latest)\n\nSet is a threadsafe abstract data structure library for representing collection \nof distinct values, without any particular order.\n\n### Examples\n```go\npackage main\n\nimport (\n    \"fmt\"\n\t\n    \"github.com/trivigy/set\"\n)\n\nfunc main() {\n    m := set.New(\"b\", \"b\", \"c\", \"d\")\n    fmt.Println(m.Contains(\"b\", \"c\", \"d\"))\n\t\n    m1 := set.New(\"b\", \"b\", \"c\", \"d\")\n    m2 := set.New(\"c\", \"b\", \"d\", \"b\")\n    fmt.Println(m1.Equals(m2))\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrivigy%2Fset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrivigy%2Fset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrivigy%2Fset/lists"}