x/sync/singleflight: add example of using Group #60208
Labels
Documentation
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
The documentation for singleflightdoesn't show any example of using singleflight.Group.
Thus it's not immediately clear whether the recommended usage is struct or pointer.
(This is not a general discussion/question about the proper use of the library, it's a request for adding documentation for it.)
The text was updated successfully, but these errors were encountered: