golang.org/x/sync/singleflight is the descendant of go4.org/syncutil/singleflight which is factored out from camlsitore.org :)
Konstantin Khomoutov <kos...@bswap.ru> ezt írta (időpont: 2017. júl. 25., K, 9:04): > On Mon, Jul 24, 2017 at 11:47:44PM -0700, Tamás Gulácsi wrote: > > > See http://godoc.org/go4.org/syncutil/singleflight for another solution. > > If you key by file name/id, and the function compresses when needed > > and then returns the (de)compressed file, it'll solve your problem. > > How is that library different from > https://godoc.org/golang.org/x/sync/singleflight > ? > > The latter appears to have two more methods on the Group type and > apperas in the "standard experimental place", so I wonder which one > descends from the other. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.