type internal/singleflight.Result
7 uses
internal/singleflight (current package)
singleflight.go#L24: chans []chan<- Result
singleflight.go#L36: type Result struct {
singleflight.go#L69: func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {
singleflight.go#L70: ch := make(chan Result, 1)
singleflight.go#L81: c := &call{chans: []chan<- Result{ch}}
singleflight.go#L101: ch <- Result{c.val, c.err, c.dups > 0}
net
lookup.go#L327: dnsWaitGroupDone := func(ch <-chan singleflight.Result, cancelFn context.CancelFunc) {
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. |