type internal/singleflight.Result
6 uses
internal/singleflight (current package)
singleflight.go#L24: chans []chan<- Result
singleflight.go#L36: type Result struct {
singleflight.go#L71: func (g *Group) DoChan(key string, fn func() (any, error)) (<-chan Result, bool) {
singleflight.go#L72: ch := make(chan Result, 1)
singleflight.go#L83: c := &call{chans: []chan<- Result{ch}}
singleflight.go#L101: ch <- Result{c.val, c.err, c.dups > 0}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)