aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/mail.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/feed/mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 0bc7d37..3010bfb 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -23,7 +23,7 @@ import (
"github.com/Necoro/feed2imap-go/internal/msg"
"github.com/Necoro/feed2imap-go/pkg/config"
"github.com/Necoro/feed2imap-go/pkg/log"
- "github.com/Necoro/feed2imap-go/pkg/util"
+ "github.com/Necoro/feed2imap-go/pkg/rfc822"
"github.com/Necoro/feed2imap-go/pkg/version"
)
@@ -98,7 +98,7 @@ func (item *item) writeContentPart(w *message.Writer, typ string, tpl template.T
}
defer partW.Close()
- if err = tpl.Execute(util.FixWriter(w), item); err != nil {
+ if err = tpl.Execute(rfc822.Writer(w), item); err != nil {
return fmt.Errorf("writing %s part: %w", typ, err)
}
='/others/pass.git/commit/src/password-store.sh?h=1.6.5&id=8769aa6370cd6b4ebd7393c32519a04772f5bd29&follow=1'>Make into a real project.Jason A. Donenfeld8-5/+173 2012-09-03Support pass gitJason A. Donenfeld2-1/+15 2012-08-31Add remove synonyms.Jason A. Donenfeld1-2/+2 2012-08-31Use basename in usage.Jason A. Donenfeld1-2/+1 2012-08-19now using gpg_id as a varMatthew Ramirez1-2/+2 2012-08-07Forty five seconds.Jason A. Donenfeld1-1/+1 2012-08-06Deal with klipper and new lines.Jason A. Donenfeld1-3/+19 2012-08-06Update examples.Jason A. Donenfeld1-7/+7 2012-08-06Update readme.Jason A. Donenfeld1-11/+13 2012-08-06Be slicker and more like git.Jason A. Donenfeld1-114/+173