diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b21e3f654..d6e530025 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,7 +13,7 @@ jobs: - name: Set up go uses: actions/setup-go@v2 with: - go-version: 1.14 + go-version: 1.16 - name: golangci-lint uses: reviewdog/action-golangci-lint@v1 with: diff --git a/api/drivers/server/server.go b/api/drivers/server/server.go index 79fc68379..cbc95a5ec 100644 --- a/api/drivers/server/server.go +++ b/api/drivers/server/server.go @@ -6,7 +6,7 @@ import ( _ "github.com/NUTFes/FinanSu/api/docs" "github.com/NUTFes/FinanSu/api/router" - "github.com/labstack/echo/v4" + echo "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" echoSwagger "github.com/swaggo/echo-swagger" ) diff --git a/api/test/sample_test.go b/api/test/sample_test.go index 69fdf32c3..9592d5c29 100644 --- a/api/test/sample_test.go +++ b/api/test/sample_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/NUTFes/FinanSu/api/internals/di" - "github.com/go-testfixtures/testfixtures/v3" + testfixtures "github.com/go-testfixtures/testfixtures/v3" "github.com/stretchr/testify/assert" )