Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
goforge
command
Command goforge is the standalone CLI for the GoForge migration engine.
|
Command goforge is the standalone CLI for the GoForge migration engine. |
|
database
|
|
|
mariadb
Package mariadb implements the migration.Provider for MariaDB.
|
Package mariadb implements the migration.Provider for MariaDB. |
|
postgres
Package postgres implements the migration.Provider for PostgreSQL.
|
Package postgres implements the migration.Provider for PostgreSQL. |
|
internal
|
|
|
cliutil
Package cliutil holds the plumbing shared by every goforge subcommand: connecting to the configured database, building the migration.Engine and rendering output in both human and --json form.
|
Package cliutil holds the plumbing shared by every goforge subcommand: connecting to the configured database, building the migration.Engine and rendering output in both human and --json form. |
|
config
Package config loads GoForge's project configuration from goforge.yaml, a .env file and the process environment.
|
Package config loads GoForge's project configuration from goforge.yaml, a .env file and the process environment. |
|
generator
Package generator produces the explicit registry file for Go migrations, so that GoForge never has to parse or interpret .go migration files at runtime: `goforge generate` does the (static, source-level) discovery once, and the resulting file is plain Go the project compiles normally.
|
Package generator produces the explicit registry file for Go migrations, so that GoForge never has to parse or interpret .go migration files at runtime: `goforge generate` does the (static, source-level) discovery once, and the resulting file is plain Go the project compiles normally. |
|
i18n
Package i18n provides GoForge's bilingual (English/Spanish) message catalogs for human-facing CLI output.
|
Package i18n provides GoForge's bilingual (English/Spanish) message catalogs for human-facing CLI output. |
|
providers
Package providers is the single source of truth for which database drivers GoForge supports: their canonical name (as stored in goforge.yaml), accepted aliases, human label, and an example DSN with CHANGE_* placeholders so a project's .env can be scaffolded without anyone having to look up the driver's connection string syntax.
|
Package providers is the single source of truth for which database drivers GoForge supports: their canonical name (as stored in goforge.yaml), accepted aliases, human label, and an example DSN with CHANGE_* placeholders so a project's .env can be scaffolded without anyone having to look up the driver's connection string syntax. |
|
Package mcp implements the GoForge MCP server: it exposes the same migration.Engine the CLI uses to AI agents over stdio.
|
Package mcp implements the GoForge MCP server: it exposes the same migration.Engine the CLI uses to AI agents over stdio. |
Click to show internal directories.
Click to hide internal directories.