Skip to content

Commit 848c101

Browse files
committed
fix: Update gomod to plugin-pb-go
1 parent 51abf8c commit 848c101

File tree

10 files changed

+35
-30
lines changed

10 files changed

+35
-30
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ clone:
1313

1414
.PHONY: gen-proto
1515
gen-proto:
16-
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb" plugin-pb/discovery/v0/discovery.proto
17-
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb" plugin-pb/base/v0/base.proto plugin-pb/destination/v0/destination.proto plugin-pb/source/v0/source.proto
18-
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb" plugin-pb/source/v1/source.proto
16+
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/discovery/v0/discovery.proto
17+
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/base/v0/base.proto plugin-pb/destination/v0/destination.proto plugin-pb/source/v0/source.proto
18+
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/source/v1/source.proto

go.mod

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
module github.com/cloudquery/plugin-pb
1+
module github.com/cloudquery/plugin-pb-go
22

33
go 1.19
44

5+
require (
6+
google.golang.org/grpc v1.54.0
7+
google.golang.org/protobuf v1.28.1
8+
)
9+
510
require (
611
github.com/golang/protobuf v1.5.2 // indirect
712
golang.org/x/net v0.8.0 // indirect
813
golang.org/x/sys v0.6.0 // indirect
914
golang.org/x/text v0.8.0 // indirect
1015
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
11-
google.golang.org/grpc v1.54.0 // indirect
12-
google.golang.org/protobuf v1.28.1 // indirect
1316
)

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS
22
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
33
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
44
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
5+
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
56
golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ=
67
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
78
golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=

pb/base/v0/base.pb.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/destination/v0/destination.pb.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/destination/v0/destination_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/discovery/v0/discovery.pb.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/source/v0/source.pb.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/source/v0/source_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pb/source/v1/source.pb.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)