This commit is contained in:
2022-03-17 15:54:23 +08:00
commit 437c38533d
25 changed files with 6943 additions and 0 deletions

12
proto/create.sh Normal file
View 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