mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 10:52:40 +00:00
[Go] Working on a go example plus fixing go grpc code (#6448)
Implemented server.go and half implemented client.go Finishes implementation for greeter go example Update grpc code for monster.fbs Adds a couple of cpp methods Adhere to gofmt standards Adds a readme for issues with grpc
This commit is contained in:
18
grpc/examples/generate.sh
Normal file
18
grpc/examples/generate.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
current_dir=`pwd`
|
||||
|
||||
cd ../..
|
||||
|
||||
main_dir=`pwd`
|
||||
|
||||
cd ${current_dir}
|
||||
|
||||
alias fbc='${main_dir}/Debug/flatc'
|
||||
generator="--grpc $current_dir/greeter.fbs"
|
||||
|
||||
# Regenerate Go lang code
|
||||
cd go/
|
||||
|
||||
cd greeter
|
||||
fbc --go ${generator}
|
||||
|
||||
cd ../..
|
||||
Reference in New Issue
Block a user