Merge conflict resolution (late)

This commit is contained in:
Aaron L 2016-06-27 00:02:10 -07:00
parent 41ce2b511b
commit 85ff9a797a
2 changed files with 5 additions and 10 deletions

View file

@ -10,12 +10,6 @@ type Config struct {
Postgres PostgresCfg `toml:"postgres"`
}
var (
cfg *Config
testCfg *Config
dbConn *sql.DB
)
func TestMain(m *testing.M) {
rand.Seed(time.Now().UnixNano())

View file

@ -1,6 +1,7 @@
var testCfg *Config
var dbConn *sql.DB
var (
testCfg *Config
dbConn *sql.DB
)
func InitViper() error {
var err error
@ -16,7 +17,7 @@ func InitViper() error {
} else {
wd = wd + "/.."
}
fmt.Println(wd)
fmt.Println(wd)
configPaths := []string{wd}
if len(configHome) > 0 {
configPaths = append(configPaths, filepath.Join(configHome, "sqlboiler"))