Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0a28177

Browse files
committedMay 3, 2025··
Update formatters in .golangci.yml
1 parent c36c867 commit 0a28177

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed
 

‎.golangci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ linters:
3333
- examples$
3434
formatters:
3535
enable:
36+
- gci
37+
- gofmt
3638
- gofumpt
3739
- goimports
40+
- golines
3841
settings:
39-
gofumpt:
40-
module-path: github.com/xorcare/testing-go-code-with-postgres
41-
goimports:
42-
local-prefixes:
43-
- github.com/xorcare/testing-go-code-with-postgres
42+
gci:
43+
sections:
44+
- standard
45+
- default
46+
- localmodule
4447
exclusions:
4548
generated: lax
4649
paths:

‎user_repository_with_isolated_schema_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ import (
1414
"github.com/golang-migrate/migrate/v4"
1515
_ "github.com/golang-migrate/migrate/v4/database/postgres"
1616
"github.com/golang-migrate/migrate/v4/source/iofs"
17-
18-
"github.com/xorcare/testing-go-code-with-postgres/migrations"
19-
2017
"github.com/google/uuid"
2118
"github.com/stretchr/testify/require"
2219

2320
rootpkg "github.com/xorcare/testing-go-code-with-postgres"
21+
"github.com/xorcare/testing-go-code-with-postgres/migrations"
2422
"github.com/xorcare/testing-go-code-with-postgres/testingpg"
2523
)
2624

0 commit comments

Comments
 (0)
Please sign in to comment.