Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

bufbuild/connect-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect

Development of this package has moved to 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 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:

find . -name "*.go" -exec sed -i 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \;

On Mac, or anywhere with BSD sed:

find . -name "*.go" -exec sed -i '' 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \;

2. Download the latest connectrpc.com/connect package

go get connectrpc.com/connect@latest
go mod tidy

3. Use the new protoc-gen-connect-go plugin to generate code

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 plugin.