Skip to content

Commit

Permalink
Remove protobuf from proto importing prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsundar committed Dec 29, 2023
1 parent 25dfd60 commit f9ec988
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
67 changes: 33 additions & 34 deletions examples/example.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/example.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package example;
option go_package = "github.com/ehsundar/kvstore/examples";

import "google/protobuf/descriptor.proto";
import "protobuf/kvstore/options.proto";
import "kvstore/options.proto";


message StaticKey {
Expand Down
1 change: 1 addition & 0 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ protoc \
--go_out=. --go_opt=paths=source_relative \
--go-kvstore_out=. --go-kvstore_opt=paths=source_relative \
-I. \
-I./protobuf \
examples/example.proto

0 comments on commit f9ec988

Please sign in to comment.