diff --git a/pkg/notifications/mail_render.go b/pkg/notifications/mail_render.go index 844423762..b45f7b510 100644 --- a/pkg/notifications/mail_render.go +++ b/pkg/notifications/mail_render.go @@ -18,11 +18,12 @@ package notifications import ( "bytes" + templatehtml "html/template" + templatetext "text/template" + "code.vikunja.io/api/pkg/config" "code.vikunja.io/api/pkg/mail" "code.vikunja.io/api/pkg/utils" - templatehtml "html/template" - templatetext "text/template" ) const mailTemplatePlain = ` diff --git a/pkg/notifications/mail_test.go b/pkg/notifications/mail_test.go index 84bf14ae1..fddeb306d 100644 --- a/pkg/notifications/mail_test.go +++ b/pkg/notifications/mail_test.go @@ -17,8 +17,9 @@ package notifications import ( - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func TestNewMail(t *testing.T) {