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() (interface{}, 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.3.2-preview. (GOOS=darwin 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. |