Skip to content

v0.2.5: embed.FS support

Compare
Choose a tag to compare
@wneessen wneessen released this 07 Jul 09:02
· 1203 commits to main since this release
3c426ed

This release adds support for embedding/attaching files directly from embed.FS. We've added two new methods:

  • Msg.EmbedFromEmbedFS() which will allow you to embed a file from a given embed.FS directly into the mail message
  • Msg.AttachFromEmbedFS() which will allow you to attach a file from a given embed.FS directly into the mail message

Noteworthy changes

  • #29 implements the embed.FS changes