Running make fmt to fix formatting.
This commit is contained in:
1 parent
08c6095aac
commit
e3986d5f9c
1 file changed
+5
-7
@@ -13,10 +13,8 @@ import (
|
||||
|
||||
var testDBPort = "5432"
|
||||
|
||||
var (
|
||||
// StartUsingTemplate creates a new test database from a postgres template database.
|
||||
StartUsingTemplate func(dialect string, opt ...Option) (func() error, string, string, error) = startUsingTemplate
|
||||
)
|
||||
// StartUsingTemplate creates a new test database from a postgres template database.
|
||||
var StartUsingTemplate func(dialect string, opt ...Option) (func() error, string, string, error) = startUsingTemplate
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
@@ -39,12 +37,12 @@ const (
|
||||
)
|
||||
|
||||
var supportedDialects = map[string]struct{}{
|
||||
Postgres: struct{}{},
|
||||
Postgres: {},
|
||||
}
|
||||
|
||||
var supportedTemplates = map[string]struct{}{
|
||||
BoundaryTemplate: struct{}{},
|
||||
Template1: struct{}{},
|
||||
BoundaryTemplate: {},
|
||||
Template1: {},
|
||||
}
|
||||
|
||||
const letterBytes = "abcdefghijklmnopqrstuvwxyz"
|
||||
|
||||
Reference in new issue
Block a user