From 4e7078806dac0a0ab2c5834fc1abbed55957b5af Mon Sep 17 00:00:00 2001 From: Rajat Goel <405844+rajatgoel@users.noreply.github.com> Date: Wed, 13 Mar 2024 22:49:54 -0700 Subject: [PATCH] Fix versions of proto plugins (#44) * Fix versions of proto plugins * update version to latest * upgrade version * go mod tidy --- buf.gen.yaml | 4 ++-- gen/frontend/v1/service.pb.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/buf.gen.yaml b/buf.gen.yaml index 1a98a63..f63a2ac 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -4,9 +4,9 @@ managed: go_package_prefix: default: github.com/rajatgoel/gh-go/gen plugins: - - plugin: buf.build/protocolbuffers/go + - plugin: buf.build/protocolbuffers/go:v1.33.0 out: gen opt: paths=source_relative - - plugin: buf.build/grpc/go + - plugin: buf.build/grpc/go:v1.3.0 out: gen opt: paths=source_relative diff --git a/gen/frontend/v1/service.pb.go b/gen/frontend/v1/service.pb.go index 391d2b8..71687e6 100644 --- a/gen/frontend/v1/service.pb.go +++ b/gen/frontend/v1/service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.33.0 // protoc (unknown) // source: frontend/v1/service.proto diff --git a/go.mod b/go.mod index b64fd30..30d4fa6 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.0 require ( github.com/stretchr/testify v1.8.4 google.golang.org/grpc v1.60.1 - google.golang.org/protobuf v1.32.0 + google.golang.org/protobuf v1.33.0 modernc.org/sqlite v1.28.0 ) diff --git a/go.sum b/go.sum index f9d3316..1c93426 100644 --- a/go.sum +++ b/go.sum @@ -44,8 +44,8 @@ google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=