diff options
author | Robin Jarry <robin@jarry.cc> | 2023-02-26 21:37:57 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-26 21:48:43 +0100 |
commit | 30d8f8dd213b86bd34c501d7820a33fd441cc267 (patch) | |
tree | 669e1a63f771e2f668a03b2cbc0296b168882abb /aerc.go | |
parent | bba7159756908f092655bdf6db091daf9eb74f76 (diff) | |
download | aerc-30d8f8dd213b86bd34c501d7820a33fd441cc267.tar.gz |
lint: always run golangci-lint@latest
Do not store the dependency in tools.go as there may be conflicts with
some indirect dependencies of aerc.
Run gofumpt and golangci-lint from their latest tagged release. This
should fix issues with go 1.20. Bonus, it drains a bit of fat from
go.sum.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'aerc.go')
-rw-r--r-- | aerc.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -96,8 +96,10 @@ func getCompletions(aerc *widgets.Aerc, cmd string) []string { } // set at build time -var Version string -var Flags string +var ( + Version string + Flags string +) func buildInfo() string { info := Version |