From aaf0a0c65673db4b94c0dc200d7394a192128da1 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Sun, 31 Jul 2022 22:16:40 +0200 Subject: lint: apply new formatting rules Run `make fmt`. Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- lib/templates/template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/templates/template.go') 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", -- cgit