A simple example demonstrating how to send flatbuffers over the network in Go.
flatc -g --gen-object-api --go-module-name echo hero.fbs net.fbs
- Run go mod tidy to get dependencies
go mod tidy
- Start a server
go run server/server.go
- Run the client in another terminal
go run client/client.go