{"id":18665228,"url":"https://github.com/hexarchy/stackgo","last_synced_at":"2025-10-07T18:29:13.816Z","repository":{"id":227632716,"uuid":"771982907","full_name":"HexArchy/stackGo","owner":"HexArchy","description":"Simple \"stack\" for go, p.s. it is array","archived":false,"fork":false,"pushed_at":"2024-03-14T11:52:15.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T17:31:16.714Z","etag":null,"topics":["go","stack"],"latest_commit_sha":null,"homepage":"","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/HexArchy.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-03-14T10:08:19.000Z","updated_at":"2024-04-07T15:00:20.000Z","dependencies_parsed_at":"2024-03-14T11:32:50.265Z","dependency_job_id":"e345f111-23e6-4593-90be-7d588bb40429","html_url":"https://github.com/HexArchy/stackGo","commit_stats":null,"previous_names":["17hierarch70/stackgo","hexarchy/stackgo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HexArchy%2FstackGo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HexArchy%2FstackGo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HexArchy%2FstackGo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HexArchy%2FstackGo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HexArchy","download_url":"https://codeload.github.com/HexArchy/stackGo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239492255,"owners_count":19647989,"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":["go","stack"],"created_at":"2024-11-07T08:26:45.134Z","updated_at":"2025-10-07T18:29:13.735Z","avatar_url":"https://github.com/HexArchy.png","language":"Go","readme":"# Stack Package\n\nA simple thread-safe stack implementation in Go.\n\n## Features\n\n- Supports thread-safe operations.\n- Allows pushing and popping elements of any type onto the stack.\n\n## Installation\n\nTo use this package in your Go module, run:\n\n```sh\ngo get github.com/17HIERARCH70/stackGo\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/yourusername/stack\"\n)\n\nfunc main() {\n\t// Create a new stack\n\ts := stack.NewStack()\n\n\t// Push elements onto the stack\n\ts.Push(1)\n\ts.Push(\"hello\")\n\ts.Push(3.14)\n\n\t// Pop elements from the stack\n\tval, err := s.Pop()\n\tif err != nil {\n\t\tfmt.Println(\"Error:\", err)\n\t} else {\n\t\tfmt.Println(\"Popped value:\", val)\n\t}\n}\n```\n\n## Contributing\n\nContributions are welcome! If you find any bugs or want to add new features, feel free to open an issue or submit a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexarchy%2Fstackgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexarchy%2Fstackgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexarchy%2Fstackgo/lists"}