Cleanup: move imports to the right place
This commit is contained in:
parent
5b4625b5f9
commit
77c5650665
@ -1,20 +1,5 @@
|
|||||||
package api_impl
|
package api_impl
|
||||||
|
|
||||||
import (
|
|
||||||
"bytes"
|
|
||||||
"encoding/json"
|
|
||||||
"io"
|
|
||||||
"net/http"
|
|
||||||
"net/http/httptest"
|
|
||||||
|
|
||||||
"github.com/golang/mock/gomock"
|
|
||||||
"github.com/labstack/echo/v4"
|
|
||||||
"gitlab.com/blender/flamenco-ng-poc/internal/manager/api_impl/mocks"
|
|
||||||
"gitlab.com/blender/flamenco-ng-poc/internal/manager/persistence"
|
|
||||||
"gitlab.com/blender/flamenco-ng-poc/pkg/api"
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
|
||||||
|
|
||||||
/* ***** BEGIN GPL LICENSE BLOCK *****
|
/* ***** BEGIN GPL LICENSE BLOCK *****
|
||||||
*
|
*
|
||||||
* Original Code Copyright (C) 2022 Blender Foundation.
|
* Original Code Copyright (C) 2022 Blender Foundation.
|
||||||
@ -35,6 +20,21 @@ import (
|
|||||||
*
|
*
|
||||||
* ***** END GPL LICENSE BLOCK ***** */
|
* ***** END GPL LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"encoding/json"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/http/httptest"
|
||||||
|
|
||||||
|
"github.com/golang/mock/gomock"
|
||||||
|
"github.com/labstack/echo/v4"
|
||||||
|
"gitlab.com/blender/flamenco-ng-poc/internal/manager/api_impl/mocks"
|
||||||
|
"gitlab.com/blender/flamenco-ng-poc/internal/manager/persistence"
|
||||||
|
"gitlab.com/blender/flamenco-ng-poc/pkg/api"
|
||||||
|
"gorm.io/gorm"
|
||||||
|
)
|
||||||
|
|
||||||
type mockedFlamenco struct {
|
type mockedFlamenco struct {
|
||||||
flamenco *Flamenco
|
flamenco *Flamenco
|
||||||
jobCompiler *mocks.MockJobCompiler
|
jobCompiler *mocks.MockJobCompiler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user