From 54cccb58f6dfcb425479b71ee7228726401fc266 Mon Sep 17 00:00:00 2001 From: Richard Kettelerij Date: Tue, 27 Feb 2024 22:44:10 +0100 Subject: [PATCH] Tidy --- .github/workflows/lint-go.yml | 3 +++ go.mod | 26 ++++++++++---------------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/lint-go.yml b/.github/workflows/lint-go.yml index ad3e908..be0f84d 100644 --- a/.github/workflows/lint-go.yml +++ b/.github/workflows/lint-go.yml @@ -22,6 +22,9 @@ jobs: - uses: actions/checkout@v3 + - name: tidy + uses: katexochen/go-tidy-check@v2 + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/go.mod b/go.mod index 910987c..3cc3429 100644 --- a/go.mod +++ b/go.mod @@ -2,21 +2,17 @@ module github.com/pdok/texel go 1.21.6 -require ( - github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect - github.com/go-spatial/geom v0.0.0-20220918193402-3cd2f5a9a082 - github.com/mattn/go-sqlite3 v1.14.17 // indirect - github.com/urfave/cli/v2 v2.25.7 -) - require ( github.com/carlmjohnson/versioninfo v0.22.5 + github.com/creasty/defaults v1.7.0 github.com/go-playground/validator/v10 v10.16.0 + github.com/go-spatial/geom v0.0.0-20220918193402-3cd2f5a9a082 github.com/iancoleman/strcase v0.3.0 github.com/muesli/reflow v0.3.0 github.com/perimeterx/marshmallow v1.1.5 github.com/stretchr/testify v1.8.4 github.com/tobshub/go-sortedmap v1.0.3 + github.com/urfave/cli/v2 v2.25.7 github.com/wk8/go-ordered-map/v2 v2.1.8 golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa ) @@ -24,26 +20,24 @@ require ( require ( github.com/bahlo/generic-list-go v0.2.0 // indirect github.com/buger/jsonparser v1.1.1 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/gdey/errors v0.0.0-20190426172550-8ebd5bc891fb // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/leodido/go-urn v1.2.4 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-runewidth v0.0.12 // indirect + github.com/mattn/go-sqlite3 v1.14.17 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rivo/uniseg v0.2.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect golang.org/x/crypto v0.7.0 // indirect golang.org/x/net v0.8.0 // indirect golang.org/x/sys v0.14.0 // indirect golang.org/x/text v0.8.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -require ( - github.com/creasty/defaults v1.7.0 - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/gdey/errors v0.0.0-20190426172550-8ebd5bc891fb // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect -)