Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bufbuild/connect-go

Moved to https://github.com/connectrpc/connect-go
https://github.com/bufbuild/connect-go

Last synced: 13 days ago
JSON representation

Moved to https://github.com/connectrpc/connect-go

Awesome Lists containing this project

README

        

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.