{"id":37102837,"url":"https://github.com/khezen/struct","last_synced_at":"2026-01-14T12:27:47.852Z","repository":{"id":57523320,"uuid":"86148539","full_name":"khezen/struct","owner":"khezen","description":"Data structures for Go","archived":true,"fork":false,"pushed_at":"2019-01-06T19:57:31.000Z","size":73,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T06:38:00.745Z","etag":null,"topics":["array","arraylist","collection","go","golang","hashmap","ordered-set","set"],"latest_commit_sha":null,"homepage":"","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/khezen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-25T10:09:36.000Z","updated_at":"2023-01-28T18:57:51.000Z","dependencies_parsed_at":"2022-08-28T11:12:05.594Z","dependency_job_id":null,"html_url":"https://github.com/khezen/struct","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khezen/struct","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fstruct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fstruct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fstruct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fstruct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khezen","download_url":"https://codeload.github.com/khezen/struct/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fstruct/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["array","arraylist","collection","go","golang","hashmap","ordered-set","set"],"created_at":"2026-01-14T12:27:47.146Z","updated_at":"2026-01-14T12:27:47.844Z","avatar_url":"https://github.com/khezen.png","language":"Go","readme":"[![Build Status](http://img.shields.io/travis/khezen/struct/master.svg?style=flat-square)](https://travis-ci.org/khezen/struct) [![codecov](https://img.shields.io/codecov/c/github/khezen/struct/master.svg?style=flat-square)](https://codecov.io/gh/khezen/struct)\n\n# [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/khezen/struct/collection) *collection*\n\n`\nimport \"github.com/khezen/struct/collection\"\n`\n\nExposes base collection interface and mixing operations(union, intersection, etc...)\n\n```golang\ntype Interface interface {\n\tAdd(...interface{})\n\tRemove(...interface{})\n\tReplace(item, substitute interface{})\n\tHas(...interface{}) bool\n\tEach(func(item interface{}) bool)\n\n\tLen() int\n\tClear()\n\tIsEmpty() bool\n\tIsEqual(Interface) bool\n\n\tMerge(Interface)\n\tSeparate(Interface)\n\tRetain(Interface)\n\n\tString() string\n\tSlice() []interface{}\n\tCopyCollection() Interface\n}\n```\n\n```golang\nfunc Union(collections ...Interface) Interface\n```\n```golang\nfunc Difference(collections ...Interface) Interface\n```\n```golang\nfunc Intersection(collections ...Interface) Interface\n```\n```golang\nfunc Exclusion(collections ...Interface) Interface\n```\n\n# [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/khezen/struct/array) *array*\n\n`\nimport \"github.com/khezen/struct/array\"\n`\n\nAbstraction layer over slices exposing utility functions and synchronized implementation of dynamic array.\n\n\n\n# [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/khezen/struct/set) *set*\n\n`\nimport \"github.com/khezen/struct/set\"\n`\n\nBoth synchronized and non-synchronized implementations of a generic set data structure.\n\n\n# [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/khezen/struct/oset) *ordered set*\n\n`\nimport \"github.com/khezen/struct/oset\"\n`\n\nBoth synchronized and non-synchronized implementations of a generic ordered set data structure.\n\n\n# [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/khezen/struct/hashmap) *hashmap*\n\n`\nimport \"github.com/khezen/struct/hashmap\"\n`\n\nBoth synchronized and non-synchronized implementations of a generic\nhashmap data structure.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Fstruct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhezen%2Fstruct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Fstruct/lists"}