{"id":21717195,"url":"https://github.com/johan-bolmsjo/gods","last_synced_at":"2026-02-11T06:03:00.976Z","repository":{"id":57645273,"uuid":"159414218","full_name":"johan-bolmsjo/gods","owner":"johan-bolmsjo","description":"Go Data Structures","archived":false,"fork":false,"pushed_at":"2024-08-21T21:47:10.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v3","last_synced_at":"2025-10-10T19:39:27.303Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johan-bolmsjo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-27T23:22:29.000Z","updated_at":"2024-08-21T21:47:14.000Z","dependencies_parsed_at":"2025-05-26T03:14:07.452Z","dependency_job_id":"f29327a0-769b-4e2f-81fc-05052c3c0716","html_url":"https://github.com/johan-bolmsjo/gods","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/johan-bolmsjo/gods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johan-bolmsjo%2Fgods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johan-bolmsjo%2Fgods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johan-bolmsjo%2Fgods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johan-bolmsjo%2Fgods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johan-bolmsjo","download_url":"https://codeload.github.com/johan-bolmsjo/gods/tar.gz/refs/heads/v3","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johan-bolmsjo%2Fgods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: 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":["data-structures","go","golang"],"created_at":"2024-11-26T01:15:37.796Z","updated_at":"2026-02-11T06:03:00.959Z","avatar_url":"https://github.com/johan-bolmsjo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoDS\n\nGo Data Structures, version 3.\n\nCompared to version 2, the APIs has been revised to use the Go 1.23\niterators. The math MinInteger and MaxInteger functions has been\nremoved. Use the built-in min and max functions instead.\n\nCompared to version 1, the APIs has been revised to take advantage of\ngeneric data types introduced in Go 1.18.\n\n## avltree\n\nThe AVL tree is converted from a C implementation originating from\nhttps://web.archive.org/web/20070212102708/http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_avl.aspx\nwhich is in the public domain.\n\nI have used the C version in many projects and trust it but this Go\nconversion is not yet battle proven. I believe the conversion is robust\nbased on test results.\n\n### Design Choices\n\nThe AVL tree is not thread safe. Use external mutexes to achieve\nconcurrency safe operations.\n\n## list (circular double linked list)\n\nAn intrusive circular double linked list. The most useful property is\nthat a list node can remove itself from any list without having a\nreference to one. This is useful to implement certain algorithms such as\ntimers or priority queues where the list a list node is stored in may be\nunknown.\n\n## math\n\nMostly simple utility functions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohan-bolmsjo%2Fgods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohan-bolmsjo%2Fgods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohan-bolmsjo%2Fgods/lists"}