1
0
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:
Johan Brandhorst
2018-06-15 13:49:55 +01:00
parent b98654eb67
commit f34699c420
26 changed files with 11764 additions and 79 deletions

View File

@@ -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: