Versions in this module Expand all Collapse all v0 v0.2.2 Jun 1, 2022 v0.2.1 Oct 27, 2021 v0.2.0 Mar 18, 2021 Changes in this version + type OneTime struct + func (ol *OneTime) Do(f func()) bool + func (ol *OneTime) Lock() bool + type WorkGroup struct + func (wg *WorkGroup) Add(n int) + func (wg *WorkGroup) Done() + func (wg *WorkGroup) Lock() + func (wg *WorkGroup) Unlock() + func (wg *WorkGroup) Wait()