aboutsummaryrefslogtreecommitdiffstats
path: root/lib/templates/template.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-07-31 22:16:40 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-01 10:44:52 +0200
commitaaf0a0c65673db4b94c0dc200d7394a192128da1 (patch)
tree44940936efff55b49a6d359d053f55c7ab824e4d /lib/templates/template.go
parent21dcd440f877192af128c00ca2acbabf68bb3ee3 (diff)
downloadaerc-aaf0a0c65673db4b94c0dc200d7394a192128da1.tar.gz
lint: apply new formatting rules
Run `make fmt`. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/templates/template.go')
-rw-r--r--lib/templates/template.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templates/template.go b/lib/templates/template.go
index 9c71c463..7254d493 100644
--- a/lib/templates/template.go
+++ b/lib/templates/template.go
@@ -19,7 +19,7 @@ import (
var version string
-//SetVersion initializes the aerc version displayed in template functions
+// SetVersion initializes the aerc version displayed in template functions
func SetVersion(v string) {
version = v
}
@@ -182,7 +182,7 @@ func findTemplate(templateName string, templateDirs []string) (string, error) {
"Can't find template %q in any of %v ", templateName, templateDirs)
}
-//DummyData provides dummy data to test template validity
+// DummyData provides dummy data to test template validity
func DummyData() interface{} {
from := &mail.Address{
Name: "John Doe",