aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.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 /config/config.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 'config/config.go')
-rw-r--r--config/config.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index 2e45b0c8..6bf767af 100644
--- a/config/config.go
+++ b/config/config.go
@@ -30,8 +30,10 @@ func mapName(raw string) string {
}
// Set at build time
-var shareDir string
-var libexecDir string
+var (
+ shareDir string
+ libexecDir string
+)
func buildDefaultDirs() []string {
var defaultDirs []string