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