Skip to main content
Version: dev

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

CapabilityModule or toolContinue with
Object Serializationgithub.com/apache/fory/go/foryGo object serialization, then choose xlang or native
Schema and generated modelsfory-compilerFory IDL and Compiler
Fory gRPCgenerated companions plus grpc-goGo gRPC

Each capability guide owns its exact module command and first runnable example.