package
1.0.0-rc9
Repository: https://github.com/phogolabs/prana.git
Documentation: pkg.go.dev

# Structs

Codegen generates Golang structs from database schema.
Column represents a metadata for database column.
ColumnModel represents the field definition for given column.
ColumnType is the type of the column.
Executor executes the schema generation.
GeneratorContext is the generator's context.
GORMTagBuilder builds tags for GORM mapper.
JSONTagBuilder builds JSON tags.
ModelProvider represents the model provider.
ModelProviderConfig is the ModelProvider's config.
MySQLProvider represents a metadata provider for MySQL.
NoopTagBuilder composes multiple builders.
PostgreSQLProvider represents a metadata provider for PostgreSQL.
Schema represents a database schema.
SchemaModel represents the schema's model.
Spec specifies the generation options.
SQLiteProvider represents a metadata provider for SQLite.
SQLXTagBuilder builds tags for SQLX mapper.
Table represents a table name and its schema.
TableModel represents the model definition.
TypeDef represents a type definition.
ValidateTagBuilder builds JSON tags.
XMLTagBuilder builds XML tags.

# Interfaces

Generator generates the sqlmodels.
Querier executes queries.
SchemaProvider provides a metadata for database schema.
TagBuilder builds tags from column type.
WriteFileSystem represents a wriable file system.

# Type aliases

CompositeTagBuilder composes multiple builders.
FileSystem provides with primitives to work with the underlying file system.