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() (interface{}, error)) (v interface{}, err error, shared bool) {
singleflight.go#L71: func (g *Group) DoChan(key string, fn func() (interface{}, error)) (<-chan Result, bool) {
singleflight.go#L94: func (g *Group) doCall(c *call, key string, fn func() (interface{}, error)) {
singleflight.go#L111: func (g *Group) ForgetUnshared(key string) bool {
net
lookup.go#L151: lookupGroup singleflight.Group
lookup.go#L160: func (r *Resolver) getLookupGroup() *singleflight.Group {
 |
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. |