models

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFromV2Config

func GenerateFromV2Config(
	l logger.Logger,
	configDir string,
	modelsCfg *config.ModelsConfig,
	engine string,
	schemaDir string,
	cat *catalog.Catalog,
	sqlcCfg *config.SqlcConfig,
) error

GenerateFromV2Config generates Go models from SQL schema using v2 config. If cat is nil, the schema will be parsed from schemaDir.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL