From 28366e7e3392fc359184b1b2a330e64cf1a26be1 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 6 Dec 2020 20:30:59 +0800 Subject: [PATCH] code refactor --- pkg/services/transaction_tags.go | 6 ++++-- pkg/services/twofactor_authorizations.go | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/services/transaction_tags.go b/pkg/services/transaction_tags.go index ec953f1c..5222a5b5 100644 --- a/pkg/services/transaction_tags.go +++ b/pkg/services/transaction_tags.go @@ -1,12 +1,14 @@ package services import ( + "time" + + "xorm.io/xorm" + "github.com/mayswind/lab/pkg/datastore" "github.com/mayswind/lab/pkg/errs" "github.com/mayswind/lab/pkg/models" "github.com/mayswind/lab/pkg/uuid" - "time" - "xorm.io/xorm" ) type TransactionTagService struct { diff --git a/pkg/services/twofactor_authorizations.go b/pkg/services/twofactor_authorizations.go index f73a5dca..53bba0fb 100644 --- a/pkg/services/twofactor_authorizations.go +++ b/pkg/services/twofactor_authorizations.go @@ -2,8 +2,8 @@ package services import ( "time" - "xorm.io/xorm" + "xorm.io/xorm" "github.com/pquerna/otp" "github.com/pquerna/otp/totp"