Closed wneessen closed 1 year ago
Merging #108 (c602ba1) into main (91bfed3) will increase coverage by
0.08%
. The diff coverage is100.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 #108 +/- ##
==========================================
+ Coverage 80.66% 80.74% +0.08%
==========================================
Files 20 20
Lines 1836 1844 +8
==========================================
+ Hits 1481 1489 +8
Misses 257 257
Partials 98 98
Impacted Files | Coverage Δ | |
---|---|---|
msg.go | 86.65% <100.00%> (+0.10%) |
:arrow_up: |
msgwriter.go | 86.14% <100.00%> (+0.06%) |
:arrow_up: |
part.go | 100.00% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
This PR introduces a new struct field for the message parts:
del
. If the del flag is set totrue
, the msgWriter will ignore this part during the writing process. Additionally, thepart
has now aDelete
method that lets the user mark the part as deletedThis allows middleware to take further control of the Msg and is part of #107.