[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:
mustiikhalil
2021-02-19 12:47:59 +03:00
committed by GitHub
parent ae603b9770
commit 0c7ae58164
19 changed files with 840 additions and 205 deletions

18
grpc/examples/generate.sh Normal file
View 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 ../..