Connect ======= **Development of this package has moved to [connectrpc/connect-go](https://github.com/connectrpc/connect-go). The new import path is `connectrpc.com/connect`.** To keep Connect well-maintained and responsive to its users' needs over the long term, we're preparing to donate it to a foundation. (More details on that soon!) To cleanly separate Connect from Buf's other code, we're moving development to the [connectrpc](https://github.com/connectrpc) GitHub organization. This repository is now frozen: it will continue to function, but won't receive further updates. Apart from its import path, the new package is identical to this one — it contains the same code and releases, so migration usually takes just a few minutes and a handful of shell scripts. ## Migration ### 1. Find all instances of `github.com/bufbuild/connect-go` and replace them with `connectrpc.com/connect` On Linux, or anywhere with GNU `sed`: ```sh find . -name "*.go" -exec sed -i 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \; ``` On Mac, or anywhere with BSD `sed`: ```sh find . -name "*.go" -exec sed -i '' 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \; ``` ### 2. Download the latest `connectrpc.com/connect` package ```sh go get connectrpc.com/connect@latest go mod tidy ``` ### 3. Use the new `protoc-gen-connect-go` plugin to generate code ```sh go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest ``` If you're using remote plugins on the Buf Schema Registry, switch to the [connectrpc/go](https://buf.build/connectrpc/go) plugin.