Manager: cleanup, reorder some imports

This commit is contained in:
Sybren A. Stüvel 2022-05-20 15:36:05 +02:00
parent f77b11d85e
commit 23a5e9df4c
3 changed files with 5 additions and 3 deletions

View File

@ -7,11 +7,12 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/labstack/echo/v4"
"git.blender.org/flamenco/internal/manager/job_compilers" "git.blender.org/flamenco/internal/manager/job_compilers"
"git.blender.org/flamenco/internal/manager/persistence" "git.blender.org/flamenco/internal/manager/persistence"
"git.blender.org/flamenco/internal/manager/webupdates" "git.blender.org/flamenco/internal/manager/webupdates"
"git.blender.org/flamenco/pkg/api" "git.blender.org/flamenco/pkg/api"
"github.com/labstack/echo/v4"
) )
func (f *Flamenco) GetJobTypes(e echo.Context) error { func (f *Flamenco) GetJobTypes(e echo.Context) error {

View File

@ -5,10 +5,11 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/labstack/echo/v4"
"git.blender.org/flamenco/internal/manager/persistence" "git.blender.org/flamenco/internal/manager/persistence"
"git.blender.org/flamenco/internal/uuid" "git.blender.org/flamenco/internal/uuid"
"git.blender.org/flamenco/pkg/api" "git.blender.org/flamenco/pkg/api"
"github.com/labstack/echo/v4"
) )
func (f *Flamenco) FetchJob(e echo.Context, jobID string) error { func (f *Flamenco) FetchJob(e echo.Context, jobID string) error {

View File

@ -4,10 +4,10 @@ package webupdates
import ( import (
"fmt" "fmt"
"git.blender.org/flamenco/pkg/api"
gosocketio "github.com/graarh/golang-socketio" gosocketio "github.com/graarh/golang-socketio"
"git.blender.org/flamenco/internal/uuid" "git.blender.org/flamenco/internal/uuid"
"git.blender.org/flamenco/pkg/api"
) )
// Separate type aliases for room names and event types; it's otherwise too easy // Separate type aliases for room names and event types; it's otherwise too easy