Documentation ¶
Index ¶
Constants ¶
View Source
const IteratorLimit = 1000
Variables ¶
This section is empty.
Functions ¶
func GetMigration ¶
func GetMigration() *gormigrate.Gormigrate
func SetupDatabaseForTest ¶
func SetupDatabaseForTest() func()
SetupDatabaseForTest setups a in-memory db for testing purpose. Shouldn't be called out of test.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
type StringArray ¶
type StringArray []string
StringArray represents a one-dimensional array of string. stolen from lib/pq. with a bit modification.
func (*StringArray) Scan ¶
func (a *StringArray) Scan(src interface{}) error
Scan implements the sql.Scanner interface.
Click to show internal directories.
Click to hide internal directories.