You've already forked testing-go-code-with-postgres
mirror of
https://github.com/xorcare/testing-go-code-with-postgres.git
synced 2025-07-03 23:30:31 +02:00
Update formatters in .golangci.yml
This commit is contained in:
@ -33,14 +33,17 @@ linters:
|
|||||||
- examples$
|
- examples$
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
|
- gci
|
||||||
|
- gofmt
|
||||||
- gofumpt
|
- gofumpt
|
||||||
- goimports
|
- goimports
|
||||||
|
- golines
|
||||||
settings:
|
settings:
|
||||||
gofumpt:
|
gci:
|
||||||
module-path: github.com/xorcare/testing-go-code-with-postgres
|
sections:
|
||||||
goimports:
|
- standard
|
||||||
local-prefixes:
|
- default
|
||||||
- github.com/xorcare/testing-go-code-with-postgres
|
- localmodule
|
||||||
exclusions:
|
exclusions:
|
||||||
generated: lax
|
generated: lax
|
||||||
paths:
|
paths:
|
||||||
|
@ -14,13 +14,11 @@ import (
|
|||||||
"github.com/golang-migrate/migrate/v4"
|
"github.com/golang-migrate/migrate/v4"
|
||||||
_ "github.com/golang-migrate/migrate/v4/database/postgres"
|
_ "github.com/golang-migrate/migrate/v4/database/postgres"
|
||||||
"github.com/golang-migrate/migrate/v4/source/iofs"
|
"github.com/golang-migrate/migrate/v4/source/iofs"
|
||||||
|
|
||||||
"github.com/xorcare/testing-go-code-with-postgres/migrations"
|
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
rootpkg "github.com/xorcare/testing-go-code-with-postgres"
|
rootpkg "github.com/xorcare/testing-go-code-with-postgres"
|
||||||
|
"github.com/xorcare/testing-go-code-with-postgres/migrations"
|
||||||
"github.com/xorcare/testing-go-code-with-postgres/testingpg"
|
"github.com/xorcare/testing-go-code-with-postgres/testingpg"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user