API Guides

May 15, 2026 ยท View on GitHub

Usage guides for the go-typeql packages. For an introduction to the library, see the project README. For complete API signatures, see pkg.go.dev or the reference docs.

Guides

GuideWhat you'll learn
ModelsDefining entities and relations, struct tags, type registration
CRUDInsert, Get, Update, Delete, Put, batch ops, transactions
QueriesFilters, sorting, pagination, aggregations, group-by
SchemaSchema generation, migration workflows, sequential migrations
Generatortqlgen: generate Go structs from TypeQL schemas
ASTLow-level TypeQL AST for programmatic query building
DriverRust FFI driver setup, TypeDB 3.11 options, server version, address translation

API Reference

Generated from source via gomarkdoc. Regenerate with:

~/go/bin/gomarkdoc ./ast/ > docs/api/reference/ast.md
~/go/bin/gomarkdoc ./gotype/ > docs/api/reference/gotype.md
~/go/bin/gomarkdoc ./tqlgen/ > docs/api/reference/tqlgen.md
~/go/bin/gomarkdoc --tags "cgo,typedb" ./driver/ > docs/api/reference/driver.md
PackageReference
astreference/ast.md
driverreference/driver.md
gotypereference/gotype.md
tqlgenreference/tqlgen.md