{"id":24926740,"url":"https://github.com/michaelwp/go-shuffle","last_synced_at":"2025-03-28T12:26:16.249Z","repository":{"id":136178614,"uuid":"363088475","full_name":"michaelwp/go-shuffle","owner":"michaelwp","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-01T14:47:04.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T12:53:10.510Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelwp.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":"2021-04-30T09:16:40.000Z","updated_at":"2021-05-01T14:46:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f178a68-f50f-44bb-b1ea-16b6cda73e9e","html_url":"https://github.com/michaelwp/go-shuffle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwp%2Fgo-shuffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwp%2Fgo-shuffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwp%2Fgo-shuffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwp%2Fgo-shuffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelwp","download_url":"https://codeload.github.com/michaelwp/go-shuffle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246028439,"owners_count":20712015,"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":"2025-02-02T12:53:15.898Z","updated_at":"2025-03-28T12:26:16.224Z","avatar_url":"https://github.com/michaelwp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-shuffle v1.2.2\n\nIni adalah package bahasa pemrograman go sederhana untuk mengacak susunan list array.\n\n### func Shuffle()\n\n```go\nfunc (l List) Shuffle() List\n```\n```go\nfunc (l ListTimes) Shuffle() List\n```\n\n### Instalasi\n\n`go get -u github.com/michaelwp/go-shuffle`\n\n### Contoh penggunaan\n\n```go \npackage main\n\nimport (\n\t\"fmt\"\n\tgoshuffle \"github.com/michaelwp/go-shuffle\"\n)\n\nfunc main()  {\n\tvar list = goshuffle.List{1,\"a\",3,\"z\",5}\n\tvar listTimes = goshuffle.ListTimes{\n\t\tList:  list,\n\t\tTimes: 5,\n\t}\n\n\tfmt.Println(list.Shuffle())\n\tfmt.Println(listTimes.Shuffle())\n}\n```\n\n#### Hasil\n\n```text\n[a 3 z 5 1]\n[[5 1 3 z a] [3 5 a 1 z] [z 3 5 a 1] [a 1 3 5 z] [3 5 1 z a]]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelwp%2Fgo-shuffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelwp%2Fgo-shuffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelwp%2Fgo-shuffle/lists"}