{"id":19082810,"url":"https://github.com/nopetimizer/buckets","last_synced_at":"2026-06-22T11:32:50.177Z","repository":{"id":236554281,"uuid":"792844020","full_name":"Nopetimizer/Buckets","owner":"Nopetimizer","description":"Buckets is a Go package that provides implementations of various data structures commonly used in computer science and software development.","archived":false,"fork":false,"pushed_at":"2024-04-27T18:00:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T11:37:47.106Z","etag":null,"topics":["data-structures","go","wip"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nopetimizer.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}},"created_at":"2024-04-27T17:56:29.000Z","updated_at":"2024-04-27T18:01:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9074e928-9592-4e4c-bebc-9243f9bca096","html_url":"https://github.com/Nopetimizer/Buckets","commit_stats":null,"previous_names":["nopetimizer/buckets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nopetimizer/Buckets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nopetimizer%2FBuckets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nopetimizer%2FBuckets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nopetimizer%2FBuckets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nopetimizer%2FBuckets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nopetimizer","download_url":"https://codeload.github.com/Nopetimizer/Buckets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nopetimizer%2FBuckets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34647748,"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-22T02:00:06.391Z","response_time":106,"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","wip"],"created_at":"2024-11-09T02:44:37.649Z","updated_at":"2026-06-22T11:32:50.159Z","avatar_url":"https://github.com/Nopetimizer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buckets: Data Structures Implementation Library for Go\n\nBuckets is a Go package that provides implementations of various data structures commonly used in computer science and software development. From linked lists to trees, Buckets aims to offer efficient and easy-to-use data structures to Go developers. Inspired by the data structures available in Java, Buckets aims to gradually add all these structures to the Go ecosystem.\n\n## Features\n\n- **Modular Design**: Each data structure is implemented as a separate module, allowing developers to import only the structures they need.\n- **Efficient Implementations**: Buckets prioritizes efficient memory usage and performance, providing implementations optimized for various use cases.\n- **Java-inspired API**: The API design is inspired by the data structures available in Java, making it familiar to developers with experience in Java programming.\n- **Comprehensive Documentation**: Buckets provides detailed documentation for each data structure, including usage examples and performance characteristics.\n\n## Available Data Structures\n\n- **Linked List**: Implements both singly and doubly linked lists.\n- **Stack**: Provides a basic stack implementation with push, pop, and peek operations.\n- **Queue**: Offers a queue implementation with enqueue and dequeue operations.\n- **Tree**: Implements various tree data structures such as binary search tree, AVL tree, and red-black tree.\n- **HashMap**: Provides a hash map implementation with support for key-value pairs.\n\n## Installation\n\nTo install Buckets, use `go get`:\n\n```bash\ngo get github.com/nopetimizer/buckets\n```\n\n## Usage\n\nHere's an example of how to use the linked list data structure from Buckets:\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/nopetimizer/buckets/linkedlist\"\n)\n\nfunc main() {\n    // Create a new linked list\n    list := linkedlist.New()\n\n    // Add elements to the linked list\n    list.Add(1)\n    list.Add(2)\n    list.Add(3)\n\n    // Print the elements of the linked list\n    fmt.Println(\"Linked List:\", list.Elements())\n\n    // Remove an element from the linked list\n    list.Remove(2)\n\n    // Print the elements of the linked list after removal\n    fmt.Println(\"Linked List after removal:\", list.Elements())\n}\n```\n\n## Contributing\n\nContributions are welcome! If you have ideas for new data structures, improvements, or find any bugs, please open an issue or submit a pull request on GitHub.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopetimizer%2Fbuckets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnopetimizer%2Fbuckets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopetimizer%2Fbuckets/lists"}