diff --git a/.golangci.yaml b/.golangci.yaml index 9fbc984..77c7bce 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -19,6 +19,7 @@ linters: enable: - bodyclose - copyloopvar + - exportloopref - gofumpt - goimports - gosec diff --git a/model_test.go b/model_test.go index d19e0f3..225eec5 100644 --- a/model_test.go +++ b/model_test.go @@ -4,7 +4,7 @@ import ( "context" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/testcontainers/testcontainers-go" + testcontainers "github.com/testcontainers/testcontainers-go" "github.com/testcontainers/testcontainers-go/modules/mysql" gormMysql "gorm.io/driver/mysql" "gorm.io/gorm"