{"id":20980504,"url":"https://github.com/hyperjumptech/go-utility","last_synced_at":"2025-10-07T21:26:40.499Z","repository":{"id":252033782,"uuid":"839197252","full_name":"hyperjumptech/go-utility","owner":"hyperjumptech","description":"Utility library to easily work on common logic","archived":false,"fork":false,"pushed_at":"2024-08-07T06:44:10.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-20T06:32:57.034Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperjumptech.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-08-07T06:27:52.000Z","updated_at":"2024-08-07T06:44:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8527f3e7-fc26-4370-8a63-6abc6370ca54","html_url":"https://github.com/hyperjumptech/go-utility","commit_stats":null,"previous_names":["hyperjumptech/go-utility"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fgo-utility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fgo-utility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fgo-utility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fgo-utility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperjumptech","download_url":"https://codeload.github.com/hyperjumptech/go-utility/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382935,"owners_count":20282051,"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":"2024-11-19T05:28:56.416Z","updated_at":"2025-10-07T21:26:35.457Z","avatar_url":"https://github.com/hyperjumptech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HyperUtility\n\n## Data structure\n\nSimple implementation of **Stack** and **Queue** data structure.\nBoth structure were backend with array of `[]interface{}`\n\n### Stack\n\nImplement the Stack data structure FILO (First In Last Out).\nIn stack, the first data added into the stack can only\nbe retrieved the latest, and the last added data into the stack\ncan be retrieved immediately.\n\n```text\n+---+---+---+---+  \u003c--- push\n| 1 | 2 | 3 | n |\n+---+---+---+---+  ---\u003e pop\n```\n\n\n### Queue\n\nImplement the Queue data structure FIFO (First In First Out).\nIn Queue, the first data added into the Queue can be\nretrieved immediately, and the last added data into the stack\ncan be retrieved the latest.\n\n```text\n           +---+---+---+---+\npop \u003c---   | 1 | 2 | 3 | n |  \u003c--- push\n           +---+---+---+---+ \n```\n\n## io.Writer\n\n### MultipleWriter\n\nMultipleWriter easily write byte stream into multiple write stream.\nIts very useful for the case like writing multiple log,\nfor example, one to the console `os.StdErr` and one to \nsome external file writer.\n\n```text\n                       +--\u003e writer_a.Write()\n                       |\nmultiWriter.Write() ---+\n                       |\n                       +--\u003e writer_b.Write()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjumptech%2Fgo-utility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperjumptech%2Fgo-utility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjumptech%2Fgo-utility/lists"}