| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| client/ | 04-Jul-2025 | - | 52 | 41 | ||
| hero/ | 04-Jul-2025 | - | 101 | 84 | ||
| net/ | 04-Jul-2025 | - | 174 | 142 | ||
| server/ | 04-Jul-2025 | - | 30 | 23 | ||
| README.md | D | 04-Jul-2025 | 404 | 28 | 19 | |
| go.mod | D | 04-Jul-2025 | 83 | 6 | 3 | |
| hero.fbs | D | 04-Jul-2025 | 63 | 7 | 5 | |
| net.fbs | D | 04-Jul-2025 | 122 | 12 | 8 |
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