group drone imports separately

This commit is contained in:
Eoin McAfee 2021-06-02 14:17:42 +01:00
parent 1173323cbf
commit 56fc7b8a2a
2 changed files with 5 additions and 5 deletions

View file

@ -18,8 +18,6 @@ import (
"net/http"
"os"
"github.com/drone/drone/handler/api/template"
"github.com/drone/drone/core"
"github.com/drone/drone/handler/api/acl"
"github.com/drone/drone/handler/api/auth"
@ -42,6 +40,7 @@ import (
"github.com/drone/drone/handler/api/repos/sign"
globalsecrets "github.com/drone/drone/handler/api/secrets"
"github.com/drone/drone/handler/api/system"
"github.com/drone/drone/handler/api/template"
"github.com/drone/drone/handler/api/user"
"github.com/drone/drone/handler/api/user/remote"
"github.com/drone/drone/handler/api/users"

View file

@ -15,12 +15,13 @@ import (
"github.com/drone/drone/handler/api/errors"
"github.com/drone/drone/mock"
"github.com/go-chi/chi"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"
"net/http"
"net/http/httptest"
"testing"
"github.com/go-chi/chi"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"
)
func TestHandleCreate(t *testing.T) {