Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Sep 18, 2024
1 parent 0259528 commit e3d2fd5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ linters-settings:
sections:
- standard
- default
- prefix(cloud-proxy)
issues:
fix: true
exclude-dirs:
Expand Down
3 changes: 2 additions & 1 deletion internal/e2etest/roundtripper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import (
"log"
"net/http"

cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
"github.com/google/uuid"

cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
)

type HTTPOverGrpcRoundTripper struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/proxy/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import (
"sync/atomic"
"time"

cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
"github.com/samber/lo"
"github.com/sirupsen/logrus"
"google.golang.org/grpc"

cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
)

const (
Expand Down
5 changes: 3 additions & 2 deletions internal/proxy/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ import (
"testing"
"time"

mock_proxy "cloud-proxy/internal/proxy/mock"
cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
"github.com/golang/mock/gomock"
"github.com/samber/lo"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"

mock_proxy "cloud-proxy/internal/proxy/mock"
cloudproxyv1alpha "cloud-proxy/proto/gen/proto/v1alpha"
)

type mockReadCloserErr struct{}
Expand Down

0 comments on commit e3d2fd5

Please sign in to comment.