Skip to content

Commit

Permalink
Regenerate pb.go files
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Sep 4, 2024
1 parent 8ef209b commit fd3ac0e
Show file tree
Hide file tree
Showing 21 changed files with 13,786 additions and 7,715 deletions.
2 changes: 2 additions & 0 deletions pb/demo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ syntax = "proto3";

package hipstershop;

option go_package = "github.com/signalfx/miscroservices-demo/hipstershop";

// -----------------Cart service-----------------

service CartService {
Expand Down
5 changes: 3 additions & 2 deletions src/checkoutservice/genproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

#!/bin/bash -e

PATH=$PATH:$GOPATH/bin
PATH=$PATH:$(go env GOPATH)/bin
protodir=../../pb
outdir=./genproto

protoc --go_out=plugins=grpc:genproto -I $protodir $protodir/demo.proto
protoc --proto_path=$protodir --go_out=./$outdir --go_opt=paths=source_relative --go-grpc_out=./$outdir --go-grpc_opt=paths=source_relative $protodir/demo.proto
Loading

0 comments on commit fd3ac0e

Please sign in to comment.