group drone imports separately
This commit is contained in:
parent
1173323cbf
commit
56fc7b8a2a
2 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,6 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/drone/drone/handler/api/template"
|
|
||||||
|
|
||||||
"github.com/drone/drone/core"
|
"github.com/drone/drone/core"
|
||||||
"github.com/drone/drone/handler/api/acl"
|
"github.com/drone/drone/handler/api/acl"
|
||||||
"github.com/drone/drone/handler/api/auth"
|
"github.com/drone/drone/handler/api/auth"
|
||||||
|
@ -42,6 +40,7 @@ import (
|
||||||
"github.com/drone/drone/handler/api/repos/sign"
|
"github.com/drone/drone/handler/api/repos/sign"
|
||||||
globalsecrets "github.com/drone/drone/handler/api/secrets"
|
globalsecrets "github.com/drone/drone/handler/api/secrets"
|
||||||
"github.com/drone/drone/handler/api/system"
|
"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"
|
||||||
"github.com/drone/drone/handler/api/user/remote"
|
"github.com/drone/drone/handler/api/user/remote"
|
||||||
"github.com/drone/drone/handler/api/users"
|
"github.com/drone/drone/handler/api/users"
|
||||||
|
|
|
@ -15,12 +15,13 @@ import (
|
||||||
"github.com/drone/drone/handler/api/errors"
|
"github.com/drone/drone/handler/api/errors"
|
||||||
"github.com/drone/drone/mock"
|
"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"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/go-chi/chi"
|
||||||
|
"github.com/golang/mock/gomock"
|
||||||
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHandleCreate(t *testing.T) {
|
func TestHandleCreate(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue