Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
remychantenay committed Sep 11, 2023
1 parent c33bb76 commit 15fe78d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@remchantenay
2 changes: 1 addition & 1 deletion .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]

- name: Install golangci-lint
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest

- name: Linting
Expand Down
3 changes: 2 additions & 1 deletion benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
"testing"
"time"

slogotel "github.com/remychantenay/slog-otel"
"go.opentelemetry.io/otel/baggage"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"go.opentelemetry.io/otel/sdk/trace/tracetest"
"go.opentelemetry.io/otel/trace"

slogotel "github.com/remychantenay/slog-otel"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion slog_otel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import (
"strings"
"testing"

slogotel "github.com/remychantenay/slog-otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/baggage"
"go.opentelemetry.io/otel/codes"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"go.opentelemetry.io/otel/sdk/trace/tracetest"
"go.opentelemetry.io/otel/trace"

slogotel "github.com/remychantenay/slog-otel"
)

func TestOtelHandler(t *testing.T) {
Expand Down

0 comments on commit 15fe78d

Please sign in to comment.