From 9d7c372a4ee520aee75115f5477636c8b93a3b5b Mon Sep 17 00:00:00 2001 From: Akshay Shah Date: Mon, 7 Aug 2023 22:48:22 -0700 Subject: [PATCH] Move to connectrpc.com/connect Move import paths from `github.com/bufbuild/connect-go` to `connectrpc.com/connect`. --- README.md | 8 ++++---- binary.go | 2 +- go.mod | 2 +- go.sum | 6 ++---- json.go | 2 +- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cc50993..1f7dd77 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ connectproto [![GoDoc](https://pkg.go.dev/badge/go.akshayshah.org/connectproto.svg)](https://pkg.go.dev/go.akshayshah.org/connectproto) -`connectproto` allows users of [`connect-go`][connect-go] to customize the -default JSON and binary codecs. It also includes support for the optimized -marshaling methods generated by [vtprotobuf]. +`connectproto` allows [Connect][connect] users to customize the default JSON +and binary codecs. It also includes support for the optimized marshaling +methods generated by [vtprotobuf]. ## Installation @@ -57,5 +57,5 @@ Offered under the [MIT license][license]. [APIv2]: https://blog.golang.org/protobuf-apiv2 [go-support-policy]: https://golang.org/doc/devel/release#policy [license]: https://github.com/akshayjshah/connectproto/blob/main/LICENSE -[connect-go]: https://github.com/bufbuild/connect-go +[connect]: https://github.com/connectrpc.com/connect-go [vtprotobuf]: https://github.com/planetscale/vtprotobuf diff --git a/binary.go b/binary.go index 8856a4e..10c15bd 100644 --- a/binary.go +++ b/binary.go @@ -1,7 +1,7 @@ package connectproto import ( - "github.com/bufbuild/connect-go" + "connectrpc.com/connect" "google.golang.org/protobuf/proto" ) diff --git a/go.mod b/go.mod index 1fec880..fb9efe2 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module go.akshayshah.org/connectproto go 1.19 require ( - github.com/bufbuild/connect-go v1.7.0 + connectrpc.com/connect v1.11.0 go.akshayshah.org/attest v1.0.0 google.golang.org/protobuf v1.31.0 ) diff --git a/go.sum b/go.sum index 406996a..c2c574c 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ +connectrpc.com/connect v1.11.0 h1:Av2KQXxSaX4vjqhf5Cl01SX4dqYADQ38eBtr84JSUBk= +connectrpc.com/connect v1.11.0/go.mod h1:3AGaO6RRGMx5IKFfqbe3hvK1NqLosFNP2BxDYTPmNPo= github.com/akshayjshah/attest v0.4.0 h1:WsUC9HOLWNx+enIGN1Zb3HDx0d6v9K2ZSRdwZkWsN+I= github.com/akshayjshah/attest v0.4.0/go.mod h1:xOHx7YBQ1aDFYNp9OpICMPKJrI+YidFSmHx412ptvsc= -github.com/bufbuild/connect-go v1.7.0 h1:MGp82v7SCza+3RhsVhV7aMikwxvI3ZfD72YiGt8FYJo= -github.com/bufbuild/connect-go v1.7.0/go.mod h1:GmMJYR6orFqD0Y6ZgX8pwQ8j9baizDrIQMm1/a6LnHk= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= @@ -10,7 +10,5 @@ go.akshayshah.org/attest v1.0.0 h1:f66BDlh/xo2KjIfmtqOFlj5cpn6mvGrP1LXY3Tex4L0= go.akshayshah.org/attest v1.0.0/go.mod h1:PnWzcW5j9dkyGwTlBmUsYpPnHG0AUPrs1RQ+HrldWO0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/json.go b/json.go index 39ef0f5..8b343e8 100644 --- a/json.go +++ b/json.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/bufbuild/connect-go" + "connectrpc.com/connect" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" )