xhit / go-simple-mail

Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
MIT License
650 stars 102 forks source link

fix data race sending mail #82

Closed xhit closed 1 year ago

xhit commented 1 year ago

Fix #75

codecov-commenter commented 1 year ago

Codecov Report

Merging #82 (fcf2fd2) into master (6250c42) will increase coverage by 20.89%. The diff coverage is 59.09%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           master      #82       +/-   ##
===========================================
+ Coverage   33.09%   53.98%   +20.89%     
===========================================
  Files           7        7               
  Lines        1233     1243       +10     
===========================================
+ Hits          408      671      +263     
+ Misses        799      507      -292     
- Partials       26       65       +39     
Flag Coverage Δ
unittests 53.98% <59.09%> (+20.89%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
email.go 34.45% <59.09%> (+31.88%) :arrow_up:

... and 1 file with indirect coverage changes