mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
Generate gRPC Client using grpc-wasm
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
generate:
|
||||
protoc -I. ./proto/web.proto \
|
||||
--go_out=plugins=grpc:$$GOPATH/src
|
||||
--go_out=plugins=grpc:$$GOPATH/src \
|
||||
--wasm_out=plugins=grpc:./
|
||||
mv ./proto/web.wasm.pb.go ./proto/client/
|
||||
go generate -x ./frontend/
|
||||
|
||||
serve:
|
||||
|
||||
Reference in New Issue
Block a user