{"id":17726639,"url":"https://github.com/thedevsaddam/unpack","last_synced_at":"2025-03-14T06:32:26.439Z","repository":{"id":57540754,"uuid":"257574307","full_name":"thedevsaddam/unpack","owner":"thedevsaddam","description":"Go assignment by slice, array unpacking or destructuring","archived":false,"fork":false,"pushed_at":"2020-04-21T13:46:53.000Z","size":4,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:50:27.473Z","etag":null,"topics":["destructuring","golang","unpack","unpack-go"],"latest_commit_sha":null,"homepage":null,"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/thedevsaddam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-21T11:32:19.000Z","updated_at":"2023-03-12T08:39:36.000Z","dependencies_parsed_at":"2022-09-17T23:22:06.050Z","dependency_job_id":null,"html_url":"https://github.com/thedevsaddam/unpack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevsaddam%2Funpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevsaddam%2Funpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevsaddam%2Funpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevsaddam%2Funpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedevsaddam","download_url":"https://codeload.github.com/thedevsaddam/unpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538060,"owners_count":20307100,"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":["destructuring","golang","unpack","unpack-go"],"created_at":"2024-10-25T17:06:21.501Z","updated_at":"2025-03-14T06:32:24.388Z","avatar_url":"https://github.com/thedevsaddam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Unpack\n---\n[![Build Status](https://travis-ci.org/thedevsaddam/unpack.svg?branch=master)](https://travis-ci.org/thedevsaddam/unpack)\n[![Project status](https://img.shields.io/badge/version-v1-green.svg)](https://github.com/thedevsaddam/unpack/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/thedevsaddam/unpack)](https://goreportcard.com/report/github.com/thedevsaddam/unpack)\n[![Coverage Status](https://coveralls.io/repos/github/thedevsaddam/unpack/badge.svg?branch=master)](https://coveralls.io/github/thedevsaddam/unpack)\n[![GoDoc](https://godoc.org/github.com/thedevsaddam/unpack?status.svg)](https://pkg.go.dev/github.com/thedevsaddam/unpack)\n[![License](https://img.shields.io/dub/l/vibe-d.svg)](LICENSE.md)\n\nGo assignment by slice, array unpacking or destructuring\n\n### Installation\n\nInstall the package using\n```go\n$ go get github.com/thedevsaddam/unpack\n```\n\n### Usage\n\nTo use the package import it in your `*.go` code\n```go\nimport \"github.com/thedevsaddam/unpack\"\n```\n\nLet's see a quick example:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/thedevsaddam/unpack\"\n)\n\nfunc main() {\n\tnames := []string{\"Captain Jack Sparrow\", \"Tom\", \"Jerry\"}\n\tvar jack, tom string\n\tunpack.Do(names, \u0026jack, \u0026tom)\n\tfmt.Println(\"I'm\", jack)\n}\n```\n\n\n## Bugs and Issues\n\nIf you encounter any bugs or issues, feel free to [open an issue at\ngithub](https://github.com/thedevsaddam/unpack/issues).\n\nAlso, you can shoot me an email to\n\u003cmailto:thedevsaddam@gmail.com\u003e for hugs or bugs.\n\n## Contribution\nIf you are interested to make the package better please send pull requests or create an issue so that others can fix.\n[Read the contribution guide here](CONTRIBUTING.md)\n\n\n## License\nThe **unpack** is an open-source software licensed under the [MIT License](LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevsaddam%2Funpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedevsaddam%2Funpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevsaddam%2Funpack/lists"}