{"id":16554776,"url":"https://github.com/j178/it","last_synced_at":"2025-06-13T23:36:21.620Z","repository":{"id":211854630,"uuid":"730078714","full_name":"j178/it","owner":"j178","description":"Iterator tools for Go 1.22+","archived":false,"fork":false,"pushed_at":"2023-12-18T05:58:47.000Z","size":64,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T18:50:33.115Z","etag":null,"topics":["experimental","go","iterators"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/j178/it","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/j178.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":"2023-12-11T06:47:49.000Z","updated_at":"2025-02-13T05:50:18.000Z","dependencies_parsed_at":"2025-01-15T05:25:57.857Z","dependency_job_id":"f9cf6f2b-b8e8-4b39-8173-40d4c8c9eac9","html_url":"https://github.com/j178/it","commit_stats":null,"previous_names":["j178/it"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/j178/it","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j178","download_url":"https://codeload.github.com/j178/it/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259737480,"owners_count":22903839,"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":["experimental","go","iterators"],"created_at":"2024-10-11T19:52:20.447Z","updated_at":"2025-06-13T23:36:21.552Z","avatar_url":"https://github.com/j178.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# itertools for Go (1.22+)\n\n![Go Version](https://img.shields.io/badge/Go-%3E%3D%201.22-%23007d9c)\n[![Go Reference](https://pkg.go.dev/badge/github.com/j178/it.svg)](https://pkg.go.dev/github.com/j178/it)\n[![CI](https://github.com/j178/it/actions/workflows/ci.yaml/badge.svg)](https://github.com/j178/it/actions/workflows/ci.yaml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/j178/it)](https://goreportcard.com/report/github.com/j178/it)\n[![codecov](https://codecov.io/gh/j178/it/graph/badge.svg?token=Q0G5O7DF3G)](https://codecov.io/gh/j178/it)\n\nGo1.22 will support [`range over function`](https://github.com/golang/go/issues/61405) and introduce the [`iter`](https://github.com/golang/go/issues/61897) std package.\n(Behind the `GOEXPERIMENT=rangefunc` gate.)\n\nSee more at [RangefuncExperiment](https://github.com/golang/go/wiki/RangefuncExperiment).\n\nThis package provides a set of iterator functions borrowed from Python and Rust.\n\nSome code are copied from Russ Cox's proposals [61898](https://github.com/golang/go/issues/61898), [61899](https://github.com/golang/go/issues/61899) and [61900](https://github.com/golang/go/issues/61900).\n\n## Installation\n\n```bash\ngo get github.com/j178/it\n```\n\n## Usage\n\nTo use this package, you need to install at least Go 1.22(not released yet) and set `GOEXPERIMENT=rangefunc`.\n\n```bash\ngo install golang.org/dl/gotip@latest\ngotip download\n\nGOEXPERIMENT=rangefunc gotip run main.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj178%2Fit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj178%2Fit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj178%2Fit/lists"}