Installation
To add conc
to your project, use go get
:
go get github.com/sourcegraph/conc
Requirements
Based on the go.mod
file, conc
requires Go version 1.20 or later.
module github.com/sourcegraph/conc
go 1.20
require github.com/stretchr/testify v1.8.1
Once installed, you can import the packages you need, for example:
import (
"github.com/sourcegraph/conc"
"github.com/sourcegraph/conc/pool"
)