Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DatabaseURL is a connection string for the postgres database to use // during integration tests. DatabaseURL = "postgres://localhost/empire?sslmode=disable" )
Functions ¶
func NewEmpire ¶
NewEmpire returns a new Empire instance suitable for testing. It ensures that the database is clean before returning.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.