Download the sources and switch the working directory:
go get -u -d github.com/go-chi/chi
cd $GOPATH/src/github.com/go-chi/chi
A typical workflow is:
go test. If your tests pass, return to the step 3.goimports -w ., to ensure the new code conforms to Go formatting guideline.