diff --git a/backend/backend.go b/backend/backend.go index d956809..94f0772 100644 --- a/backend/backend.go +++ b/backend/backend.go @@ -1,11 +1,11 @@ package backend import ( - "github.com/pboehm/ddns/config" - "github.com/pboehm/ddns/hosts" "bufio" "errors" "fmt" + "github.com/pboehm/ddns/config" + "github.com/pboehm/ddns/hosts" "io" "strings" "time" diff --git a/backend/backend_test.go b/backend/backend_test.go index 5fa307e..2a155c1 100644 --- a/backend/backend_test.go +++ b/backend/backend_test.go @@ -1,11 +1,11 @@ package backend import ( - c "github.com/pboehm/ddns/config" - h "github.com/pboehm/ddns/hosts" "bufio" "bytes" "errors" + c "github.com/pboehm/ddns/config" + h "github.com/pboehm/ddns/hosts" "github.com/stretchr/testify/assert" "os" "testing" diff --git a/ddns.go b/ddns.go index 0dd5264..089b05b 100644 --- a/ddns.go +++ b/ddns.go @@ -1,11 +1,11 @@ package main import ( + "flag" "github.com/pboehm/ddns/backend" "github.com/pboehm/ddns/config" "github.com/pboehm/ddns/hosts" "github.com/pboehm/ddns/web" - "flag" "log" "os" "strings" diff --git a/hosts/redis.go b/hosts/redis.go index f000a6e..1d9dc0c 100644 --- a/hosts/redis.go +++ b/hosts/redis.go @@ -1,8 +1,8 @@ package hosts import ( - "github.com/pboehm/ddns/config" "github.com/garyburd/redigo/redis" + "github.com/pboehm/ddns/config" "time" ) diff --git a/web/web.go b/web/web.go index 5a94905..8a35e07 100644 --- a/web/web.go +++ b/web/web.go @@ -1,9 +1,9 @@ package web import ( + "fmt" "github.com/pboehm/ddns/config" "github.com/pboehm/ddns/hosts" - "fmt" "gopkg.in/gin-gonic/gin.v1" "html/template" "log"