Skip to content

Commit

Permalink
golangci: use gci instead of goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed May 9, 2023
1 parent f7a322f commit 4dfec95
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ run:
linters:
disable-all: true
enable:
- gci
- gofumpt
- goimports
1 change: 0 additions & 1 deletion fakestorage/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"time"

"cloud.google.com/go/storage"

"github.com/fsouza/fake-gcs-server/internal/checksum"
minio "github.com/minio/minio-go/v7"
"google.golang.org/api/iterator"
Expand Down
1 change: 0 additions & 1 deletion grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

pb "github.com/fsouza/fake-gcs-server/genproto/googleapis/storage/v1"
"github.com/fsouza/fake-gcs-server/internal/backend"

"google.golang.org/grpc"
"google.golang.org/grpc/reflection"
"google.golang.org/protobuf/types/known/timestamppb"
Expand Down
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ import (

"cloud.google.com/go/storage"
"github.com/fsouza/fake-gcs-server/fakestorage"
"github.com/fsouza/fake-gcs-server/grpc"
"github.com/fsouza/fake-gcs-server/internal/checksum"
"github.com/fsouza/fake-gcs-server/internal/config"
"github.com/sirupsen/logrus"

"github.com/fsouza/fake-gcs-server/grpc"
"github.com/soheilhy/cmux"
)

Expand Down

0 comments on commit 4dfec95

Please sign in to comment.