golang.org/x/sync/singleflight.Group.Do (method)
2 uses
golang.org/x/sync/singleflight (current package)
singleflight.go#L91: func (g *Group) Do(key string, fn func() (any, error)) (v any, err error, shared bool) {
github.com/gotd/td/telegram/downloader
cdn_verify.go#L187: v, err, _ := c.windowsLoad.Do(key, func() (interface{}, error) {
![]() |
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. |