Lines Matching full:go
22 # Emit Go code for the example schema in the test dir:
25 # Go requires a particular layout of files in order to link multiple packages.
26 # Copy flatbuffer Go files to their own package directories to compile the
30 mkdir -p ${go_src}/github.com/google/flatbuffers/go
33 cp -a MyGame/*.go ./go_gen/src/MyGame/
34 cp -a MyGame/Example/*.go ./go_gen/src/MyGame/Example/
35 cp -a MyGame/Example2/*.go ./go_gen/src/MyGame/Example2/
36 # do not compile the gRPC generated files, which are not tested by go_test.go
38 rm ./go_gen/src/MyGame/Example/*_grpc.go
39 cp -a ../go/* ./go_gen/src/github.com/google/flatbuffers/go
40 cp -a ./go_test.go ./go_gen/src/flatbuffers_test/
45 # go -test -test.v ...
48 # go -test -test.bench=. ...
49 GOPATH=${go_path} go test flatbuffers_test \
50 --coverpkg=github.com/google/flatbuffers/go \
62 echo "OK: Go tests passed."
64 echo "KO: Go tests failed."