Update global.go

This commit is contained in:
Michał Mrozek 2017-04-16 20:00:43 +02:00 committed by GitHub
parent 0818af0e26
commit 91a798d9af

View file

@ -1,6 +1,7 @@
package boil package boil
import ( import (
"io"
"os" "os"
"time" "time"
) )
@ -20,7 +21,7 @@ var (
var DebugMode = false var DebugMode = false
// DebugWriter is where the debug output will be sent if DebugMode is true // DebugWriter is where the debug output will be sent if DebugMode is true
var DebugWriter = os.Stdout var DebugWriter io.Writer = os.Stdout
// SetDB initializes the database handle for all template db interactions // SetDB initializes the database handle for all template db interactions
func SetDB(db Executor) { func SetDB(db Executor) {