init
This commit is contained in:
12
proto/create.sh
Normal file
12
proto/create.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
#protoc --proto_path=$GOPATH/src:. \
|
||||
# --go_out=. --go_opt=paths=source_relative \
|
||||
# --go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
||||
# api.proto
|
||||
|
||||
#protoc -I=. -I=$GOPATH/src --go_out=plugins=grpc:. *.proto
|
||||
|
||||
protoc --go_out=. --go_opt=paths=source_relative \
|
||||
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
||||
*.proto
|
||||
Reference in New Issue
Block a user