internal

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ORM string `json:"orm"` // ORM type, e.g., "gorm", "sqlx", "ent"

	Driver string `json:"driver"` // Driver name, e.g., "mysql", "postgres"
	Source string `json:"source"` // Data source name (DSN), e.g., "mysql://user:pass@tcp(localhost:3306)/dbname"

	IncludedTables []string `json:"included_tables"` // IncludedTables to inspect (all if empty)
	ExcludedTables []string `json:"excluded_tables"` // ExcludedTables to exclude from inspection

	SchemaPath string `json:"schema_path"` // Path to save the generated schema files
	DaoPath    string `json:"dao_path"`    // Path to save the generated DAO code (for gorm)
}

Directories

Path Synopsis
ent
mux

Jump to

Keyboard shortcuts

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