Documentation ¶ Index ¶ func GetSortedTypeFileds(t reflect.Type) []string func MigrateDatabase(db database.Context, models []database.Model) func RandSeq(n int) string func Setup(databaseName string, models []database.Model) database.Context func Teardown(db database.Context, databaseName string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetSortedTypeFileds ¶ func GetSortedTypeFileds(t reflect.Type) []string func MigrateDatabase ¶ func MigrateDatabase(db database.Context, models []database.Model) func RandSeq ¶ func RandSeq(n int) string func Setup ¶ func Setup(databaseName string, models []database.Model) database.Context func Teardown ¶ func Teardown(db database.Context, databaseName string) Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.