Skip to content

Commit

Permalink
fix(lint): Correct import prefix (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt authored Jan 20, 2025
1 parent 103e444 commit f7debe0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ linters-settings:
sections:
- standard
- default
- prefix(github.com/sumup/x)
- prefix(github.com/sumup/typeid)
- dot
skip-generated: false
gocritic:
Expand All @@ -108,7 +108,7 @@ linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/sumup/x
local-prefixes: github.com/sumup/typeid
gomoddirectives:
replace-local: true
gosimple:
Expand Down
1 change: 1 addition & 0 deletions random.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/gofrs/uuid/v5"
"github.com/jackc/pgx/v5/pgtype"

"github.com/sumup/typeid/base32"
)

Expand Down
1 change: 1 addition & 0 deletions sortable.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/gofrs/uuid/v5"
"github.com/jackc/pgx/v5/pgtype"

"github.com/sumup/typeid/base32"
)

Expand Down

0 comments on commit f7debe0

Please sign in to comment.