wneessen / go-mail

📧 Easy to use, yet comprehensive library for sending mails with Go
https://go-mail.dev
MIT License
571 stars 44 forks source link

Introduce GetEmbeds() and SetEmbeds() #109

Closed wneessen closed 1 year ago

wneessen commented 1 year ago

These two methods work analogous to the *Attachments() methods and provide the user with access to the embedded files.

codecov-commenter commented 1 year ago

Codecov Report

Merging #109 (25e00c6) into main (c602ba1) will decrease coverage by 0.13%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   80.74%   80.62%   -0.13%     
==========================================
  Files          20       20              
  Lines        1844     1848       +4     
==========================================
+ Hits         1489     1490       +1     
- Misses        257      259       +2     
- Partials       98       99       +1     
Impacted Files Coverage Δ
msg.go 86.74% <100.00%> (+0.08%) :arrow_up:
client.go 79.26% <0.00%> (-1.01%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more