Documentation
¶
Index ¶
- func GetInitCreateTableTemplate(t CreateTableData, base bool) (string, error)
- func GetMainTemplate(t MainData) (string, error)
- func GetMigrationTemplate(t MigrationData) (string, error)
- func GetMigrationsTemplate(t MigrationsData) (string, error)
- type CreateTableData
- type MainData
- type MigrationData
- type MigrationsData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitCreateTableTemplate ¶
func GetInitCreateTableTemplate(t CreateTableData, base bool) (string, error)
func GetMainTemplate ¶
func GetMigrationTemplate ¶
func GetMigrationTemplate(t MigrationData) (string, error)
func GetMigrationsTemplate ¶
func GetMigrationsTemplate(t MigrationsData) (string, error)
Types ¶
type CreateTableData ¶
type CreateTableData struct {
Name string
}
type MigrationData ¶
type MigrationsData ¶
Click to show internal directories.
Click to hide internal directories.