Documentation ¶ Index ¶ Variables type Migration Constants ¶ This section is empty. Variables ¶ View Source var ( // Handlers maps a database name to its implementation. Handlers = map[string]handler{ "postgres": postgres{}, } ) Functions ¶ This section is empty. Types ¶ type Migration ¶ type Migration struct { Apply []string Revert []string } Migration is a database migration. Apply is the sql statments to be executed within the database to apply the migration. Revert is the sql statments required to undo the migration. Source Files ¶ View all Source files handler.go postgres.go Click to show internal directories. Click to hide internal directories.