{"id":18893551,"url":"https://github.com/shgopher/singeleflight-demo","last_synced_at":"2025-06-27T23:38:54.304Z","repository":{"id":114582444,"uuid":"331281353","full_name":"shgopher/singeleFlight-demo","owner":"shgopher","description":"【请求合并】golang.org/x/sync/singleflight 的一个 使用 demo，singleflight是很多goroutine同时只有一个goroutine获取到数据，其它的就不用去获取了，然后自动就能获取到相同的数据。","archived":false,"fork":false,"pushed_at":"2021-01-20T11:33:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-05T23:31:34.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/shgopher.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-01-20T11:09:49.000Z","updated_at":"2024-06-19T06:33:59.534Z","dependencies_parsed_at":"2023-03-24T01:35:25.606Z","dependency_job_id":null,"html_url":"https://github.com/shgopher/singeleFlight-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shgopher%2FsingeleFlight-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shgopher%2FsingeleFlight-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shgopher%2FsingeleFlight-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shgopher%2FsingeleFlight-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shgopher","download_url":"https://codeload.github.com/shgopher/singeleFlight-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239869221,"owners_count":19710485,"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":"2024-11-08T08:14:16.121Z","updated_at":"2025-02-20T16:16:08.218Z","avatar_url":"https://github.com/shgopher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# singeleFlight-demo\ngolang.org/x/sync/singleflight 的一个 使用 demo，singleflight是很多goroutine同时只有一个goroutine获取到数据，其它的就不用去获取了，然后自动就能获取到相同的数据。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshgopher%2Fsingeleflight-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshgopher%2Fsingeleflight-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshgopher%2Fsingeleflight-demo/lists"}