Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultSchema ¶
GetDefaultSchema returns the schema found at schema/schema.sql in the service's directory.
func GetMockSQL ¶
GetMockSQL returns the schema found at schema/mock_data.sql in the service's directory.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database performs operations on a database container
func (*Database) ApplySchema ¶
ApplySchema applies the schema to the database.
Click to show internal directories.
Click to hide internal directories.