{"id":23960408,"url":"https://github.com/trviph/collection","last_synced_at":"2026-06-13T03:34:31.327Z","repository":{"id":270893880,"uuid":"911167129","full_name":"trviph/collection","owner":"trviph","description":"Collection is a Go library that aims to implement basic data structures such as List, Queue, Stack, Heap, and more.","archived":false,"fork":false,"pushed_at":"2025-10-20T05:27:52.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T03:02:42.734Z","etag":null,"topics":["data-structures","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trviph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-02T11:48:19.000Z","updated_at":"2025-10-26T18:12:28.000Z","dependencies_parsed_at":"2025-09-23T15:20:39.035Z","dependency_job_id":null,"html_url":"https://github.com/trviph/collection","commit_stats":null,"previous_names":["trviph/collection"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/trviph/collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trviph%2Fcollection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trviph%2Fcollection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trviph%2Fcollection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trviph%2Fcollection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trviph","download_url":"https://codeload.github.com/trviph/collection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trviph%2Fcollection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34271500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data-structures","go","golang"],"created_at":"2025-01-06T19:27:55.871Z","updated_at":"2026-06-13T03:34:31.309Z","avatar_url":"https://github.com/trviph.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collection\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/trviph/collection.svg)](https://pkg.go.dev/github.com/trviph/collection) [![codecov](https://codecov.io/gh/trviph/collection/graph/badge.svg?token=60LBLAG1AT)](https://codecov.io/gh/trviph/collection) [![CI](https://github.com/trviph/collection/actions/workflows/ci.yaml/badge.svg)](https://github.com/trviph/collection/actions/workflows/ci.yaml)\n\nCollection is a Go library that aims to implement basic data structures such as List, Queue, Stack, Heap, and more.\n\n## Data Structures\n\n- [Linked list](https://pkg.go.dev/github.com/trviph/collection#List) is implemented as a doubly linked list.\n- [Stack](https://pkg.go.dev/github.com/trviph/collection#Stack) is implemented by using linked list as the base.\n- [Queue](https://pkg.go.dev/github.com/trviph/collection#Queue) is implemented by using linked list as the base.\n- [Heap](https://pkg.go.dev/github.com/trviph/collection#Queue) is implemented by using [slice](https://go.dev/blog/slices-intro) as the base.\n\n## Caches\n\n- [LRU](https://pkg.go.dev/github.com/trviph/collection/cache#LRU) implemeted cache with LRU eviction policy.\n- [MRU](https://pkg.go.dev/github.com/trviph/collection/cache#MRU) implemeted cache with MRU eviction policy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrviph%2Fcollection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrviph%2Fcollection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrviph%2Fcollection/lists"}