gofrs / uuid

A UUID package for Go
MIT License
1.57k stars 110 forks source link

adding IsNil method to uuid #95

Closed jordan-chalupka closed 2 years ago

jordan-chalupka commented 2 years ago

Adding an IsZero method to uuid.

92

codecov-commenter commented 2 years ago

Codecov Report

Merging #95 (4758840) into master (6fe74ff) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files           4        4           
  Lines         549      551    +2     
=======================================
+ Hits          545      547    +2     
  Misses          3        3           
  Partials        1        1           
Impacted Files Coverage Δ
uuid.go 100.00% <100.00%> (ø)

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 6fe74ff...4758840. Read the comment docs.

cameracker commented 2 years ago

Thanks very much for this contribution! Hopefully this is a nice shortcut for users.