Skip to content

Commit

Permalink
chore: mosaic: organize imports with gci
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonck92 committed Jul 9, 2024
1 parent a2e7a4c commit dded8ea
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion mosaic/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ linters:
- gofumpt
- godot
- gocritic
- gci
- funlen
- gocognit

Expand Down
4 changes: 2 additions & 2 deletions mosaic/infra/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
"io"
"strings"

"github.com/kouprlabs/voltaserve/mosaic/config"

"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"

"github.com/kouprlabs/voltaserve/mosaic/config"
)

type S3Manager struct {
Expand Down
6 changes: 3 additions & 3 deletions mosaic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"fmt"
"os"

"github.com/gofiber/fiber/v2"
"github.com/joho/godotenv"

"github.com/kouprlabs/voltaserve/mosaic/config"
"github.com/kouprlabs/voltaserve/mosaic/errorpkg"
"github.com/kouprlabs/voltaserve/mosaic/helper"
"github.com/kouprlabs/voltaserve/mosaic/router"

"github.com/gofiber/fiber/v2"
"github.com/joho/godotenv"
)

// @title Voltaserve Mosaic
Expand Down
4 changes: 2 additions & 2 deletions mosaic/router/health_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ package router
import (
"net/http"

"github.com/kouprlabs/voltaserve/mosaic/infra"

"github.com/gofiber/fiber/v2"

"github.com/kouprlabs/voltaserve/mosaic/infra"
)

type HealthRouter struct {
Expand Down
4 changes: 2 additions & 2 deletions mosaic/router/mosaic_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"path/filepath"
"strconv"

"github.com/gofiber/fiber/v2"

"github.com/kouprlabs/voltaserve/mosaic/config"
"github.com/kouprlabs/voltaserve/mosaic/helper"
"github.com/kouprlabs/voltaserve/mosaic/infra"
"github.com/kouprlabs/voltaserve/mosaic/service"

"github.com/gofiber/fiber/v2"
)

type MosaicRouter struct {
Expand Down
4 changes: 2 additions & 2 deletions mosaic/service/mosaic_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ import (
"os"
"path/filepath"

"github.com/minio/minio-go/v7"

"github.com/kouprlabs/voltaserve/mosaic/builder"
"github.com/kouprlabs/voltaserve/mosaic/config"
"github.com/kouprlabs/voltaserve/mosaic/errorpkg"
"github.com/kouprlabs/voltaserve/mosaic/helper"
"github.com/kouprlabs/voltaserve/mosaic/infra"

"github.com/minio/minio-go/v7"
)

type MosaicService struct {
Expand Down

0 comments on commit dded8ea

Please sign in to comment.