Versions in this module Expand all Collapse all v0 v0.12.0 Jun 11, 2026 v0.11.0 Jun 11, 2026 Changes in this version + const ContractVersion + func Marshal(v any) ([]byte, error) + func Unmarshal(data []byte, v any) error + type CatalogJSON struct + Tables []TableJSON + type CodeGenRequest struct + Catalog CatalogJSON + Options json.RawMessage + Queries []QueryJSON + Settings SettingsJSON + Version int + func BuildRequest(catalog *model.Catalog, analyses []analyzer.Result, settings SettingsJSON, ...) *CodeGenRequest + type CodeGenResponse struct + Diagnostics []DiagJSON + Files []FileJSON + type ColumnJSON struct + Name string + NotNull bool + Type string + type DiagJSON struct + Message string + Severity string + type FileJSON struct + Contents string + Path string + type ParamJSON struct + GoType string + Name string + Nullable bool + type QueryJSON struct + Cmd string + Columns []ResultColumnJSON + Name string + Params []ParamJSON + SQL string + type ResultColumnJSON struct + GoType string + Name string + Nullable bool + type SettingsJSON struct + Database string + Language string + Package string + type TableJSON struct + Columns []ColumnJSON + Name string