summaryrefslogtreecommitdiff
path: root/examples/go-dashboard/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/go-dashboard/main.go')
-rw-r--r--examples/go-dashboard/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/go-dashboard/main.go b/examples/go-dashboard/main.go
index b9dcd314d..89ec9adef 100644
--- a/examples/go-dashboard/main.go
+++ b/examples/go-dashboard/main.go
@@ -9,6 +9,8 @@ import (
"os"
"strconv"
"strings"
+
+ "ui"
)
var (
@@ -21,6 +23,8 @@ var (
)
func main() {
+ ui.Init()
+
InfoLogger = log.New(os.Stderr, "INFO: ", log.Ldate|log.Ltime|log.Lshortfile)
WarningLogger = log.New(os.Stderr, "WARNING: ", log.Ldate|log.Ltime|log.Lshortfile)
ErrorLogger = log.New(os.Stderr, "ERROR: ", log.Ldate|log.Ltime|log.Lshortfile)