{"id":37174004,"url":"https://github.com/rayyildiz/ds","last_synced_at":"2026-01-14T20:20:05.382Z","repository":{"id":30266680,"uuid":"33818114","full_name":"rayyildiz/ds","owner":"rayyildiz","description":"Data structures in Go","archived":true,"fork":false,"pushed_at":"2021-02-04T21:04:55.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T21:39:17.103Z","etag":null,"topics":["data-structures","deprecated","golang","will-delete"],"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/rayyildiz.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":"2015-04-12T13:35:02.000Z","updated_at":"2023-10-10T09:09:44.000Z","dependencies_parsed_at":"2022-08-03T13:00:33.367Z","dependency_job_id":null,"html_url":"https://github.com/rayyildiz/ds","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rayyildiz/ds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayyildiz","download_url":"https://codeload.github.com/rayyildiz/ds/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","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":["data-structures","deprecated","golang","will-delete"],"created_at":"2026-01-14T20:20:03.946Z","updated_at":"2026-01-14T20:20:05.054Z","avatar_url":"https://github.com/rayyildiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data structures with [Go](http://golang.org)\r\n\r\n[![Build Status](http://img.shields.io/travis/rayyildiz/ds.svg?style=flat-square)](https://travis-ci.org/rayyildiz/ds)\r\n[![Build status](https://ci.appveyor.com/api/projects/status/58pg386xvrekluj1?svg=true)](https://ci.appveyor.com/project/rayyildiz/ds)\r\n[![Coverage Status](https://coveralls.io/repos/rayyildiz/ds/badge.svg?branch=master)](https://coveralls.io/r/rayyildiz/ds?branch=master)\r\n[![Go Report Card](https://goreportcard.com/badge/github.com/rayyildiz/ds)](https://goreportcard.com/report/github.com/rayyildiz/ds)\r\n[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/rayyildiz/ds)\r\n\r\nTo get this examples\r\n\r\n    go get -u go.rayyildiz.dev/ds\r\n\r\n\r\n### Stack\r\n[Stack](http://en.wikipedia.org/wiki/Stack_(abstract_data_type)) is a data type that  implementation of LIFO (Last In First Out)\r\nA stack has two important method :\r\n\r\n* _Push_ Insert an element to stack\r\n* _Pop_  Remove the top of the element from stack.\r\n\r\nHere is usage of stack\r\n\r\n    stack := NewStack()\r\n\r\n    stack.Push(\"One\")\r\n    stack.Push(\"Two\")\r\n\r\n    elem, err := stack.Pop()   // elem = \"Two\" and err = nil\r\n\r\n### Queue\r\n[Queue](http://en.wikipedia.org/wiki/Queue_(abstract_data_type)) is a data type that implementation of FIFO (First In, First Out)\r\n\r\nA queue has two important method :\r\n\r\n* _Enqueue_ Insert an element to queue\r\n* _Dequeue_ Remove the first element from queue\r\n\r\nHere is usage of stack\r\n\r\n    q := NewQueue()\r\n\r\n    q.Enqueue(\"One\")\r\n    q.Enqueue(\"Two\")\r\n\r\n    elem, err := q.Dequeue()   // elem = \"One\" and err = nil\r\n\r\n\r\n### Linked List\r\nSimple implementation of [linked-list](https://en.wikipedia.org/wiki/Linked_list)\r\n\r\nCurrently 2 method implemented:\r\n\r\n* _Insert_  Insert a new element to linked list\r\n* _Count_ Number of elements.\r\n\r\nHere is usage of linked list\r\n\r\n    list := NewLinkedList()\r\n\r\n    list.Insert(3)\r\n    list.Insert(\"hello\")\r\n    list.Insert(3.14)\r\n    list.Insert(true)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyildiz%2Fds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayyildiz%2Fds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyildiz%2Fds/lists"}