{"id":18051782,"url":"https://github.com/joegasewicz/linky","last_synced_at":"2025-04-05T07:13:50.120Z","repository":{"id":221603658,"uuid":"754863569","full_name":"joegasewicz/linky","owner":"joegasewicz","description":"Fully complete linked list library 🔗","archived":false,"fork":false,"pushed_at":"2024-02-11T14:24:24.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T14:53:19.587Z","etag":null,"topics":["abstract-data-types","adt","linked-list","linklist"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/joegasewicz/linky","language":"Go","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/joegasewicz.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-02-08T22:45:19.000Z","updated_at":"2024-02-08T22:50:52.000Z","dependencies_parsed_at":"2024-02-09T00:22:21.678Z","dependency_job_id":"c513690f-a818-4723-b57c-cdeb1835b0a6","html_url":"https://github.com/joegasewicz/linky","commit_stats":null,"previous_names":["joegasewicz/linky"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Flinky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Flinky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Flinky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Flinky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joegasewicz","download_url":"https://codeload.github.com/joegasewicz/linky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299850,"owners_count":20916193,"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":["abstract-data-types","adt","linked-list","linklist"],"created_at":"2024-10-30T22:55:58.717Z","updated_at":"2025-04-05T07:13:50.101Z","avatar_url":"https://github.com/joegasewicz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linky\nFully complete Linked list library. This is a Go port of a C library - [lists](https://github.com/joegasewicz/lists).\n### API\n\n#### ListInit\nListInit should be called before any operation can be used on with\nthe linked list\n```\nl := LinkedListInit(data)\n```\n\n#### ListDestroy\nListDestroy destroys the linked list. No operations are permitted to\nbe called on the linked list after ListDestroy is called\n```\nerr = LinkedListDestroy(l.LinkedList)\n```\n\n#### InsertNext\nInsertNext inserts a node after the current linked list element.\nIf the element is nil then the new element gets placed at the head\nof the list \u0026 then return the tail.\n```\nerr, tailNode := l.LinkedList.InsertNext(l.tailNode, data)\n```\n\n#### RemoveNext\nRemoveNext removes the next element after node \u0026 returns an error\nif one exists \u0026 the removed node's data. If the node is nil then the\nhead of the list is removed \u0026 the head's data returned.\n```\nerr, node := l.LinkedList.RemoveNext(nil)\n```\n#### ListSize\nListSize returns the total number of nodes in the list.\n```\nsize := l.LinkedList.ListSize()\n```\n#### ListHead\nListHead returns the head of the list\n```\nhead := l.LinkedList.ListHead()\n```\n\n### ListTail\nListTail returns the tail node of the list.\n```\ntail := l.Tail()\n```\n\n#### IsHead\nIsHead determines if element is the head of the list.\n```\nisHead := l.IsHead(node)\n```\n\n#### IsTail\nIsTail determines if element is the tail of the list.\n```go\nisTail := l.IsTail(node)\n```\n#### Evaluate\nEvaluate returns the data of element's Node\n\n```go\nerr, result = l.Evaluate(node)\n```\n\n#### NextNode\nNextNode returns the next Node in the list.\n```go\nerr, nextNode := l.NextNode(node)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoegasewicz%2Flinky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoegasewicz%2Flinky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoegasewicz%2Flinky/lists"}