Skip to content

Instantly share code, notes, and snippets.

@russellsimpkins
Created December 29, 2020 20:19
Show Gist options
  • Save russellsimpkins/44efdc4b066acb94171044b5be64ee83 to your computer and use it in GitHub Desktop.
Save russellsimpkins/44efdc4b066acb94171044b5be64ee83 to your computer and use it in GitHub Desktop.
fix deprecation dependency in github.com/infobloxopen/protoc-gen-gorm
modified: gorm/converter.go
modified: gorm/fields.go
modified: gorm/utilities.go
--- a/gorm/converter.go
+++ b/gorm/converter.go
@@ -8,7 +8,7 @@ import (
"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/proto"
- "github.com/golang/protobuf/protoc-gen-go/generator"
+ generator "github.com/grpc-ecosystem/grpc-gateway/v2/internal/casing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment