Go Libraries
The Go bindings expose Media over QUIC to Go applications via cgo. Built on the same Rust core (moq-ffi) as the Python, Kotlin, and Swift packages, generated with uniffi-bindgen-go.
Packages
moq
A single Go module that exposes the UniFFI surface as ordinary Go types. The module ships prebuilt libmoq_ffi.a per supported platform and links statically through cgo, so consumers don't need a Rust toolchain or a runtime shared library on their path.
Supported platforms:
linux/amd64,linux/arm64darwin/amd64,darwin/arm64windows/amd64
Installation
The module lives in moq-dev/moq-go, a mirror repo populated by CI on every moq-ffi-v* tag.
bash
go get github.com/moq-dev/moq-go@v0.2.11go
import "github.com/moq-dev/moq-go/moq"cgo picks the right libmoq_ffi.a automatically via build tags; no LD_LIBRARY_PATH or extra setup required. Building requires CGO_ENABLED=1 (the default on Unix).
Source and issues
- Source: go/ (in the monorepo)
- Mirror (what
go getresolves): moq-dev/moq-go - README: go/README.md