From 1417948d3d147fd8e9517ed430dd340df54e6bf1 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 3 May 2017 10:21:01 +0800 Subject: [PATCH] fix import Signed-off-by: Bo-Yi Wu --- remote/gitea/gitea_test.go | 1 - remote/gitea/helper.go | 3 +-- remote/gitea/helper_test.go | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/remote/gitea/gitea_test.go b/remote/gitea/gitea_test.go index f4b7060f..c1e72c86 100644 --- a/remote/gitea/gitea_test.go +++ b/remote/gitea/gitea_test.go @@ -6,7 +6,6 @@ import ( "github.com/drone/drone/model" "github.com/drone/drone/remote/gitea/fixtures" - "github.com/franela/goblin" "github.com/gin-gonic/gin" ) diff --git a/remote/gitea/helper.go b/remote/gitea/helper.go index 180f6911..199e8ce2 100644 --- a/remote/gitea/helper.go +++ b/remote/gitea/helper.go @@ -8,9 +8,8 @@ import ( "strings" "time" - "github.com/drone/drone/model" - "code.gitea.io/sdk/gitea" + "github.com/drone/drone/model" ) // helper function that converts a Gitea repository to a Drone repository. diff --git a/remote/gitea/helper_test.go b/remote/gitea/helper_test.go index f0ac6999..1bacc15f 100644 --- a/remote/gitea/helper_test.go +++ b/remote/gitea/helper_test.go @@ -4,10 +4,9 @@ import ( "bytes" "testing" + "code.gitea.io/sdk/gitea" "github.com/drone/drone/model" "github.com/drone/drone/remote/gitea/fixtures" - - "code.gitea.io/sdk/gitea" "github.com/franela/goblin" )