Go Reference

golang.org/x/build/internal/singleflight

Package singleflight provides a duplicate function call suppression mechanism.