Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bufbuild/connect-go
- Owner: bufbuild
- License: apache-2.0
- Archived: true
- Fork: true (connectrpc/connect-go)
- Created: 2023-07-26T18:41:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-24T13:16:09.000Z (about 1 year ago)
- Last Synced: 2024-10-16T13:04:30.574Z (26 days ago)
- Language: Go
- Homepage: https://connectrpc.com
- Size: 1.52 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-golang-repositories - connect-go
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.