diff --git a/fail2ban.go b/fail2ban.go index d8f14f0..14d26a6 100644 --- a/fail2ban.go +++ b/fail2ban.go @@ -4,7 +4,6 @@ package traefik_plugin_fail2ban //nolint:revive,stylecheck import ( "context" "fmt" - "github.com/zerodha/logf" "net" "net/http" "regexp" @@ -12,6 +11,8 @@ import ( "strconv" "strings" "time" + + "github.com/zerodha/logf" ) type configIPSpec struct { diff --git a/logger.go b/logger.go index 3e5a22e..98d67a3 100644 --- a/logger.go +++ b/logger.go @@ -2,9 +2,10 @@ package traefik_plugin_fail2ban import ( "fmt" - "github.com/zerodha/logf" "strings" "time" + + "github.com/zerodha/logf" ) func NewLogger(logLevel string) *logf.Logger { diff --git a/response_writer.go b/response_writer.go index aaa567b..714da63 100644 --- a/response_writer.go +++ b/response_writer.go @@ -1,9 +1,10 @@ package traefik_plugin_fail2ban //nolint:revive,stylecheck import ( - "github.com/zerodha/logf" "net/http" "strconv" + + "github.com/zerodha/logf" ) // ResponseWriter wrapping original ResponseWriter with response check handling.