type internal/singleflight.Group
7 uses
internal/singleflight (current package)
singleflight.go#L29: type Group struct {
singleflight.go#L47: func (g *Group) Do(key string, fn func() (any, error)) (v any, err error, shared bool) {
singleflight.go#L69: func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {
singleflight.go#L92: func (g *Group) doCall(c *call, key string, fn func() (any, error)) {
singleflight.go#L111: func (g *Group) ForgetUnshared(key string) bool {
net
lookup.go#L155: lookupGroup singleflight.Group
lookup.go#L164: func (r *Resolver) getLookupGroup() *singleflight.Group {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |