Sign in
go
/
tools
/
4100dac8a16753e74830e7df4229daf45bc51bf7
/
.
/
go
/
analysis
/
passes
/
loopclosure
/
testdata
/
src
/
golang.org
/
x
/
sync
/
errgroup
/
errgroup.go
blob: 939fd5259ff17be565d727f38a6dca3d78d302d6 [
file
] [
log
] [
blame
]
// Package errgroup synthesizes Go's package "golang.org/x/sync/errgroup",
// which is used in unit-testing.
package errgroup
type Group struct {
}
func (g *Group) Go(f func() error) {
go func() {
f()
}()
}