hako / durafmt

:clock8: Better time duration formatting in Go!
MIT License
496 stars 49 forks source link

feat: allow the use of custom units to format the duration #20

Closed moisespsena closed 3 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #20 into master will decrease coverage by 10.92%. The diff coverage is 75.43%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #20       +/-   ##
===========================================
- Coverage   97.36%   86.44%   -10.93%     
===========================================
  Files           1        2        +1     
  Lines          76      118       +42     
===========================================
+ Hits           74      102       +28     
- Misses          1        8        +7     
- Partials        1        8        +7     
Impacted Files Coverage Δ
unit.go 65.85% <65.85%> (ø)
durafmt.go 97.40% <100.00%> (+0.03%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3f39dc1...5c8cfd5. Read the comment docs.