Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alebabai committed Feb 21, 2024
1 parent a36f0a3 commit aaca8f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/alebabai/go-kit-kafka
local-prefixes: github.com/alebabai/go-kit-kafka/v2

linters:
enable:
Expand Down
3 changes: 2 additions & 1 deletion tracing/opentracing/propagation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import (
"fmt"

"github.com/alebabai/go-kafka"
"github.com/alebabai/go-kit-kafka/v2/transport"
"github.com/go-kit/log"
"github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"

"github.com/alebabai/go-kit-kafka/v2/transport"
)

// KafkaHeadersCarrier satisfies both [opentracing.TextMapWriter] and [opentracing.TextMapReader].
Expand Down
2 changes: 1 addition & 1 deletion transport/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewConsumer(
c := &Consumer{
e: e,
dec: dec,
errorHandler: transport.ErrorHandlerFunc(func(ctx context.Context, err error) {
errorHandler: transport.ErrorHandlerFunc(func(context.Context, error) {
// noop
}),
}
Expand Down

0 comments on commit aaca8f8

Please sign in to comment.