Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PathAppName ... PathAppName = "src/github.com/zainul/gan" // FileTypeMigration ... FileTypeMigration = "migration" // FileTypeMigrationFromFile ... FileTypeMigrationFromFile = "migrationFromFile" // FileTypeMigrationUp ... FileTypeMigrationUp = "migrationUp" // FileTypeCreationSeed ... FileTypeCreationSeed = "migrationSeed" )
View Source
const ( // DIR .. DIR = "GANDIR" // CONNDB ... CONNDB = "GANCONN" // THORPACKAGE ... THORPACKAGE = "THORPACKAGE" )
View Source
const ( // DotGo ... DotGo = "go" // DotSQL ... DotSQL = "sql" CreateEntity = "create_entity" CreateUseCase = "create_usecase" CreateStore = "create_store" CreateStoreImpl = "create_store_impl" CreateMock = "create_mock" CreateRepoTest = "create_repo_test" // FileTypeReverse .... FileTypeReverse = "reverse" )
View Source
const ( // Create ... Create = "create_migration" // CreateSeed ... CreateSeed = "create_seed_file" // CreateFromFile ... CreateFromFile = "create_migration_from_file" // Migrate ... Migrate = "migrate" // Seed ... Seed = "seed" // Rollback ... Rollback = "rollback" // SetDir ... SetDir = "set_dir" // SetDB ... SetDB = "set_db" // ReverseForSeed .... ReverseForSeed = "reverse_for_seed" // CreateApp ... CreateApp = "create_app" // ReverseDB ... ReverseDB = "reverse_db" )
View Source
const ( // MigrationTablePG ... MigrationTablePG = `` /* 292-byte string literal not displayed */ // InsertTablePG ... InsertTablePG = `INSERT INTO migrations (migration, up, down, execute_up, execute_down, statements) values ($1, $2, $3, $4, $5, $6)` ReversePG = `` /* 1358-byte string literal not displayed */ )
View Source
const ( // StatusUp ... StatusUp = "up" // StatusDown ... StatusDown = "down" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.