{"id":17717947,"url":"https://github.com/mamal72/slicy","last_synced_at":"2026-02-27T11:46:52.639Z","repository":{"id":57534715,"uuid":"145387629","full_name":"mamal72/slicy","owner":"mamal72","description":"A set of typesafe chainable slice helpers to reduce pain of working with slices","archived":false,"fork":false,"pushed_at":"2018-08-23T03:41:06.000Z","size":10,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T12:40:38.892Z","etag":null,"topics":["go","golang","helper","slice"],"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/mamal72.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}},"created_at":"2018-08-20T08:18:17.000Z","updated_at":"2024-06-20T12:40:38.893Z","dependencies_parsed_at":"2022-09-26T18:21:41.184Z","dependency_job_id":null,"html_url":"https://github.com/mamal72/slicy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fslicy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fslicy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fslicy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fslicy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mamal72","download_url":"https://codeload.github.com/mamal72/slicy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221432729,"owners_count":16820067,"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","golang","helper","slice"],"created_at":"2024-10-25T14:33:08.800Z","updated_at":"2026-02-27T11:46:47.614Z","avatar_url":"https://github.com/mamal72.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/mamal72/slicy)](https://goreportcard.com/report/github.com/mamal72/slicy)\n[![GoDoc](https://godoc.org/github.com/mamal72/slicy?status.svg)](https://godoc.org/github.com/mamal72/slicy)\n[![license](https://img.shields.io/github/license/mamal72/slicy.svg)](https://github.com/mamal72/slicy/blob/master/LICENSE)\n\n\n# [ ]Slicy\n\nSlicy is a set of *typesafe* *chainable* slice helpers that help you work with slices easier.\n\n\n## Installation\n\n```bash\ngo get github.com/mamal72/slicy\n# or use dep, vgo, glide or anything else\n```\n\n\n## Usage\n\n### Supported Types\n\n- `byte`\n- `int`\n- `int8`\n- `int16`\n- `int32`\n- `int64`\n- `float32`\n- `float64`\n- `uint`\n- `uint8`\n- `uint16`\n- `uint32`\n- `uint64`\n- `string`\n- `interface{}`\n\n\n### Implemented Methods\n\n- `Filter`\n- `Map`\n- `Push`\n- `Pop`\n- `Shift`\n- `Unshift`\n- `Append`\n- `Concat`\n- `Every`\n- `Some`\n- `Includes`\n- `Len`\n\n\n### Example\n\nHere is a simple example of string slice:\n\n```go\ns := slicy.NewFromStringSlice([]string{\"my\", \"string\", \"slice\", \"no!\"})\ns.Filter(func(item string) {\n    return item != \"no!\"\n})\n// You may call other methods here...\n\nresult := s.GetSlice() // returns a *[]string containing {\"my\", \"string\", \"slice\"}\n```\n\n\n## Build\n\nThis package is generated using [genny](https://github.com/cheekybits/genny). You can simply run `go generate` or `make generate` to build project.\n\n\n## Ideas || Issues\n\nJust create an issue and describe it. I'll check it ASAP!\n\n\n## Contribution\n\nYou can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamal72%2Fslicy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmamal72%2Fslicy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamal72%2Fslicy/lists"}