aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-02-26 21:37:57 +0100
committerRobin Jarry <robin@jarry.cc>2023-02-26 21:48:43 +0100
commit30d8f8dd213b86bd34c501d7820a33fd441cc267 (patch)
tree669e1a63f771e2f668a03b2cbc0296b168882abb /aerc.go
parentbba7159756908f092655bdf6db091daf9eb74f76 (diff)
downloadaerc-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.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/aerc.go b/aerc.go
index 36dcde0e..b288084a 100644
--- a/aerc.go
+++ b/aerc.go
@@ -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