{"id":24432003,"url":"https://github.com/syniol/golang-data-structures","last_synced_at":"2025-08-20T22:36:43.963Z","repository":{"id":253635483,"uuid":"784231054","full_name":"syniol/golang-data-structures","owner":"syniol","description":"Data Structures in Golang","archived":false,"fork":false,"pushed_at":"2024-10-07T12:51:00.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T15:41:42.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syniol.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}},"created_at":"2024-04-09T12:53:48.000Z","updated_at":"2024-10-07T12:51:04.000Z","dependencies_parsed_at":"2024-08-18T11:48:09.458Z","dependency_job_id":"71e7aeb2-7566-49aa-bf14-e1fb1f3ff447","html_url":"https://github.com/syniol/golang-data-structures","commit_stats":null,"previous_names":["syniol/golang-data-structures"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fgolang-data-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fgolang-data-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fgolang-data-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fgolang-data-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syniol","download_url":"https://codeload.github.com/syniol/golang-data-structures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243475370,"owners_count":20296712,"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":[],"created_at":"2025-01-20T15:29:10.361Z","updated_at":"2025-03-13T20:13:11.857Z","avatar_url":"https://github.com/syniol.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Structures in Golang \u003csup\u003e\u003ci\u003eFundamental Principles in Computer Science\u003c/i\u003e\u003c/sup\u003e\u003c/span\u003e\nIn this repository, I'm going to implement text book principles we learned at university, for Data Structure. It was \nmostly done in Java, and C#. However, I will demonstrate the implementation in Golang. There may be some data structure \nthat I might have not included here. I will do my best to research and create a proper jargon for Data Structures in Golang.\nThis could take time and more patience.\n\n * [Queue](https://github.com/syniol/golang-data-structures/tree/main/queue)\n * [Stack](https://github.com/syniol/golang-data-structures/tree/main/stack)\n * [Array \u0026 Slice](https://github.com/syniol/golang-data-structures/blob/main/example_array_slice_test.go)\n * [Map](https://github.com/syniol/golang-data-structures/blob/main/example_map_test.go)\n\n\n## Queue\n * FIFO (first-in-first-out)\n * Elements added at the back of queue\n\n\n## Stack\n * LIFO (last-in-first-out)\n * Elements added at the top of the queue\n\n\n## Graphs\ntbc\n\n\n## Map\n * Unordered\n * Pointer by default\n\n\n## Array \u0026 Slice\n * Ordered\n * Dynamic size\n * Slice's element is a pointer to an Array\n\n\n## Array\n * Ordered\n * Static size\n * Arrays are values by default (meaning passing a copy of variable in a function)\n\n\n#### Links\n * [Microsoft .NET API Queue](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1)\n * [Microsoft .NET API Stack](https://learn.microsoft.com/en-us/dotnet/api/system.collections.stack)\n * [Google Golang Specification Map types](https://go.dev/ref/spec#Map_types)\n * [Google Go maps in Action](https://go.dev/blog/maps)\n * [Google Golang Specification Array types](https://go.dev/ref/spec#Array_types)\n * [Google Golang Specification Slice types](https://go.dev/ref/spec#Slice_types)\n\n\n##### Credits\nAuthor: [Hadi Tajallaei](mailto:hadi@syniol.com)\n\nCopyright \u0026copy; 2024, Syniol Limited. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fgolang-data-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyniol%2Fgolang-data-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fgolang-data-structures/lists"}