• Home
Name Date Size #Lines LOC

..--

client/04-Jul-2025-5241

hero/04-Jul-2025-10184

net/04-Jul-2025-174142

server/04-Jul-2025-3023

README.mdD04-Jul-2025404 2819

go.modD04-Jul-202583 63

hero.fbsD04-Jul-202563 75

net.fbsD04-Jul-2025122 128

README.md

1# Go Echo Example
2
3A simple example demonstrating how to send flatbuffers over the network in Go.
4
5## Generate flatbuffer code
6
7```
8flatc -g --gen-object-api --go-module-name echo hero.fbs net.fbs
9```
10
11## Running example
12
131. Run go mod tidy to get dependencies
14```
15go mod tidy
16```
17
182. Start a server
19```
20go run server/server.go
21```
22
233. Run the client in another terminal
24```
25go run client/client.go
26```
27
28