type golang.org/x/sync/singleflight.Group
8 uses
golang.org/x/sync/singleflight (current package)
singleflight.go#L73: type Group struct {
singleflight.go#L91: func (g *Group) Do(key string, fn func() (any, error)) (v any, err error, shared bool) {
singleflight.go#L121: func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {
singleflight.go#L144: func (g *Group) doCall(c *call, key string, fn func() (any, error)) {
singleflight.go#L210: func (g *Group) Forget(key string) {
github.com/gotd/td/telegram
client.go#L127: cdnKeysLoad singleflight.Group
client.go#L279: c.cdnKeysLoad = singleflight.Group{}
github.com/gotd/td/telegram/downloader
cdn.go#L44: windowsLoad singleflight.Group
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |