From cec100502f9f715597d83263f14f37c9eb12dffe Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 10 Jun 2018 03:47:14 +0300 Subject: [PATCH] Removed unnecessary changes. --- bamboohr/widget.go | 2 +- bargraph/widget.go | 2 +- gcal/widget.go | 2 +- git/widget.go | 2 +- github/widget.go | 2 +- newrelic/widget.go | 2 +- prettyweather/widget.go | 2 +- status/widget.go | 2 +- system/widget.go | 2 +- wtf.go | 8 ++++---- wtf_tests/utils_test.go | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bamboohr/widget.go b/bamboohr/widget.go index 073b29d4..1e9eb751 100644 --- a/bamboohr/widget.go +++ b/bamboohr/widget.go @@ -3,8 +3,8 @@ package bamboohr import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/bargraph/widget.go b/bargraph/widget.go index 33b7ca09..0e798952 100644 --- a/bargraph/widget.go +++ b/bargraph/widget.go @@ -8,8 +8,8 @@ import ( "math/rand" "time" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/gcal/widget.go b/gcal/widget.go index e8b9b932..487c8daa 100644 --- a/gcal/widget.go +++ b/gcal/widget.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" "google.golang.org/api/calendar/v3" ) diff --git a/git/widget.go b/git/widget.go index 690ec247..894d71b5 100644 --- a/git/widget.go +++ b/git/widget.go @@ -1,10 +1,10 @@ package git import ( - "github.com/senorprogrammer/wtf/wtf" "github.com/gdamore/tcell" "github.com/olebedev/config" "github.com/rivo/tview" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/github/widget.go b/github/widget.go index 9d4b2daa..717f1bab 100644 --- a/github/widget.go +++ b/github/widget.go @@ -1,10 +1,10 @@ package github import ( - "github.com/senorprogrammer/wtf/wtf" "github.com/gdamore/tcell" "github.com/olebedev/config" "github.com/rivo/tview" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/newrelic/widget.go b/newrelic/widget.go index f9796a7a..ca16966f 100644 --- a/newrelic/widget.go +++ b/newrelic/widget.go @@ -3,8 +3,8 @@ package newrelic import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" nr "github.com/yfronto/newrelic" ) diff --git a/prettyweather/widget.go b/prettyweather/widget.go index 058c2383..c0ef7596 100644 --- a/prettyweather/widget.go +++ b/prettyweather/widget.go @@ -6,8 +6,8 @@ import ( "net/http" "strings" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/status/widget.go b/status/widget.go index 804f3f16..3bd71599 100644 --- a/status/widget.go +++ b/status/widget.go @@ -3,8 +3,8 @@ package status import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/system/widget.go b/system/widget.go index ea631246..c13ed5ea 100644 --- a/system/widget.go +++ b/system/widget.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/wtf.go b/wtf.go index a1275175..acb0d8d3 100644 --- a/wtf.go +++ b/wtf.go @@ -6,6 +6,10 @@ import ( "os" "time" + "github.com/gdamore/tcell" + "github.com/olebedev/config" + "github.com/radovskyb/watcher" + "github.com/rivo/tview" "github.com/senorprogrammer/wtf/bamboohr" "github.com/senorprogrammer/wtf/bargraph" "github.com/senorprogrammer/wtf/blockfolio" @@ -34,10 +38,6 @@ import ( "github.com/senorprogrammer/wtf/todo" "github.com/senorprogrammer/wtf/weather" "github.com/senorprogrammer/wtf/wtf" - "github.com/gdamore/tcell" - "github.com/olebedev/config" - "github.com/radovskyb/watcher" - "github.com/rivo/tview" ) /* -------------------- Functions -------------------- */ diff --git a/wtf_tests/utils_test.go b/wtf_tests/utils_test.go index a4689a54..a069301c 100644 --- a/wtf_tests/utils_test.go +++ b/wtf_tests/utils_test.go @@ -3,8 +3,8 @@ package wtf_tests import ( "testing" - . "github.com/senorprogrammer/wtf/wtf" "github.com/go-test/deep" + . "github.com/senorprogrammer/wtf/wtf" ) /* -------------------- Exclude() -------------------- */