{"id":13481647,"url":"https://github.com/mattn/go-generics-example","last_synced_at":"2025-05-16T02:02:22.544Z","repository":{"id":39486433,"uuid":"350007655","full_name":"mattn/go-generics-example","owner":"mattn","description":"Example code for Go generics","archived":false,"fork":false,"pushed_at":"2023-07-02T12:29:22.000Z","size":77,"stargazers_count":1357,"open_issues_count":0,"forks_count":129,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-04-08T12:07:06.610Z","etag":null,"topics":["examples","generics","go","golang"],"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/mattn.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}},"created_at":"2021-03-21T13:31:50.000Z","updated_at":"2025-03-08T09:15:49.000Z","dependencies_parsed_at":"2024-01-13T18:13:03.572Z","dependency_job_id":"c066b400-794c-4142-ac29-4c3fa84522ee","html_url":"https://github.com/mattn/go-generics-example","commit_stats":{"total_commits":82,"total_committers":12,"mean_commits":6.833333333333333,"dds":"0.23170731707317072","last_synced_commit":"2a1202e922b9c09cb244c04c7e4de6d70cd2e67b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-generics-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-generics-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-generics-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-generics-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattn","download_url":"https://codeload.github.com/mattn/go-generics-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453646,"owners_count":22073616,"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":["examples","generics","go","golang"],"created_at":"2024-07-31T17:00:53.679Z","updated_at":"2025-05-16T02:02:22.457Z","avatar_url":"https://github.com/mattn.png","language":"Go","funding_links":[],"categories":["Go","Repositories","Programming languages"],"sub_categories":["Go"],"readme":"# go-generics-example\n\nExample code for Go generics.\n\n## Usage\n\n```\n$ go build -gcflags=-G=3\n```\n\n## Requirements\n\nGo 1.18 or later\n\n## Third-party packages that support Generics\n\n- [Code-Hex/go-generics-cache](https://github.com/Code-Hex/go-generics-cache) An in-memory key:value store/cache library written in Go 1.18 generics\n- [genkami/dogs](https://github.com/genkami/dogs) Dogs is a library that provides some useful types and functions borrowed from functional languages.\n- [makiuchi-d/tuple](https://github.com/makiuchi-d/tuple) Definition of n-tuple structs using type parameters.\n- [samber/lo](https://github.com/samber/lo) 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)\n- [mattn/go-result](https://github.com/mattn/go-result) Something like unwrap in Rust.\n- [makiuchi-d/linq](https://github.com/makiuchi-d/linq) LINQ for Go with type parameters.\n\n## Advertise\n\n[Go 言語にやってくる Generics は我々に何をもたらすのか](https://zenn.dev/mattn/books/4c7de85ec42cb44cf285)\n\n## License\n\nMIT\n\n## Author\n\nYasuhiro Matsumoto (a.k.a. mattn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fgo-generics-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattn%2Fgo-generics-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fgo-generics-example/lists"}