From 9a2d3d55811ff445d109f2978e5061ff690789b0 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 9 Sep 2019 19:11:31 +0200 Subject: [PATCH] Fix deprecated imports Signed-off-by: Knut Ahlers --- main.go | 4 ++-- token.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 08370f8..8230cd7 100644 --- a/main.go +++ b/main.go @@ -16,16 +16,16 @@ import ( "strings" "time" - log "github.com/Sirupsen/logrus" "github.com/gorilla/mux" "github.com/gorilla/securecookie" "github.com/gorilla/sessions" + log "github.com/sirupsen/logrus" "github.com/tdewolff/minify" "github.com/tdewolff/minify/html" "github.com/tdewolff/minify/js" validator "gopkg.in/validator.v2" - "github.com/Luzifer/rconfig" + "github.com/Luzifer/rconfig/v2" ) const ( diff --git a/token.go b/token.go index 0e8fe18..6d397d3 100644 --- a/token.go +++ b/token.go @@ -8,10 +8,10 @@ import ( "sync" "time" - log "github.com/Sirupsen/logrus" "github.com/hashicorp/vault/api" "github.com/pquerna/otp" "github.com/pquerna/otp/totp" + log "github.com/sirupsen/logrus" ) type token struct {