A collection of frequently used Go patterns for micro services and concurrency.
go get github.com/JackKCWong/go-micro-patterns
import "github.com/JackKCWong/go-micro-patterns/concur"
A facade over sync.WaitGroup to encapsulate the error-prone wg.Add(1)
, go func() {defer wg.Done()}
pattern.
import "github.com/JackKCWong/go-micro-patterns/cnp"