Go Setup
Fory Go is published as the Go module github.com/apache/fory/go/fory and requires Go 1.24 or later. Use one compatible Fory release across every peer in an application.
Verify the Toolchain
go version
go env GOPROXY
If a Go proxy has not picked up a new submodule tag yet, retry later or use GOPROXY=direct temporarily.
Choose a Capability
| Capability | Module or tool | Continue with |
|---|---|---|
| Object Serialization | github.com/apache/fory/go/fory | Go object serialization, then choose xlang or native |
| Schema and generated models | fory-compiler | Fory IDL and Compiler |
| Fory gRPC | generated companions plus grpc-go | Go gRPC |
Each capability guide owns its exact module command and first runnable example.