From 522dfe2ce57d2c501ae87b237eabeaeb12635ca2 Mon Sep 17 00:00:00 2001 From: ajatprabha Date: Sat, 18 Sep 2021 19:53:42 +0530 Subject: [PATCH] sort imports --- cmd/asynqmon/main.go | 3 ++- conversion_helpers.go | 3 ++- queue_handlers.go | 1 + redis_info_handlers.go | 1 + router.go | 1 + scheduler_entry_handlers.go | 1 + task_handlers.go | 1 + 7 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cmd/asynqmon/main.go b/cmd/asynqmon/main.go index b798b3e..ddfee24 100644 --- a/cmd/asynqmon/main.go +++ b/cmd/asynqmon/main.go @@ -12,9 +12,10 @@ import ( "github.com/go-redis/redis/v7" "github.com/gorilla/mux" + "github.com/rs/cors" + "github.com/hibiken/asynq" "github.com/hibiken/asynqmon" - "github.com/rs/cors" ) // Command-line flags diff --git a/conversion_helpers.go b/conversion_helpers.go index bea1880..d7211d3 100644 --- a/conversion_helpers.go +++ b/conversion_helpers.go @@ -1,10 +1,11 @@ package asynqmon import ( - "github.com/hibiken/asynq" "time" "unicode" "unicode/utf8" + + "github.com/hibiken/asynq" ) // **************************************************************************** diff --git a/queue_handlers.go b/queue_handlers.go index 42ca7c4..0bfd4a8 100644 --- a/queue_handlers.go +++ b/queue_handlers.go @@ -6,6 +6,7 @@ import ( "net/http" "github.com/gorilla/mux" + "github.com/hibiken/asynq" ) diff --git a/redis_info_handlers.go b/redis_info_handlers.go index 944ad88..f8fbf94 100644 --- a/redis_info_handlers.go +++ b/redis_info_handlers.go @@ -6,6 +6,7 @@ import ( "strings" "github.com/go-redis/redis/v7" + "github.com/hibiken/asynq" ) diff --git a/router.go b/router.go index 52bb241..d93e665 100644 --- a/router.go +++ b/router.go @@ -3,6 +3,7 @@ package asynqmon import ( "github.com/go-redis/redis/v7" "github.com/gorilla/mux" + "github.com/hibiken/asynq" ) diff --git a/scheduler_entry_handlers.go b/scheduler_entry_handlers.go index fa62c69..31e8b83 100644 --- a/scheduler_entry_handlers.go +++ b/scheduler_entry_handlers.go @@ -5,6 +5,7 @@ import ( "net/http" "github.com/gorilla/mux" + "github.com/hibiken/asynq" ) diff --git a/task_handlers.go b/task_handlers.go index 5f11dd7..f8e19da 100644 --- a/task_handlers.go +++ b/task_handlers.go @@ -10,6 +10,7 @@ import ( "time" "github.com/gorilla/mux" + "github.com/hibiken/asynq" )