diff --git a/internal/etcd/routeloader_test.go b/internal/etcd/routeloader_test.go index fd56c52..78ed45b 100644 --- a/internal/etcd/routeloader_test.go +++ b/internal/etcd/routeloader_test.go @@ -4,11 +4,12 @@ import ( "context" "encoding/json" "errors" - "github.com/gojektech/weaver/internal/server" "reflect" "testing" "time" + "github.com/gojektech/weaver/internal/server" + etcd "github.com/coreos/etcd/client" "github.com/gojektech/weaver/internal/config" "github.com/gojektech/weaver/pkg/logger" diff --git a/main.go b/main.go index a4b89c4..d3e5b1b 100644 --- a/main.go +++ b/main.go @@ -3,6 +3,12 @@ package main import ( "context" "fmt" + "log" + "os" + "os/signal" + "syscall" + "time" + raven "github.com/getsentry/raven-go" "github.com/gojektech/weaver/internal/config" "github.com/gojektech/weaver/internal/etcd" @@ -10,11 +16,6 @@ import ( "github.com/gojektech/weaver/pkg/instrumentation" "github.com/gojektech/weaver/pkg/logger" cli "gopkg.in/urfave/cli.v1" - "log" - "os" - "os/signal" - "syscall" - "time" ) func main() {