intenthq / anon

A UNIX Command To Anonymise Data
MIT License
354 stars 14 forks source link

Adds range anonymisation function #8

Closed albertpastrana closed 6 years ago

albertpastrana commented 6 years ago

Signed-off-by: Albert Pastrana albert.pastrana@gmail.com

codecov[bot] commented 6 years ago

Codecov Report

Merging #8 into master will increase coverage by 9.62%. The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   56.25%   65.87%   +9.62%     
==========================================
  Files           3        3              
  Lines         112      126      +14     
==========================================
+ Hits           63       83      +20     
+ Misses         47       41       -6     
  Partials        2        2
Impacted Files Coverage Δ
main.go 37.93% <100%> (+13.79%) :arrow_up:
anonymisations.go 84.09% <85.71%> (+0.75%) :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 057943a...cd2c0f2. Read the comment docs.

albertpastrana commented 6 years ago

@nathankleyn I've pushed in this branch/PR a commit that fixes the bug with the stdin/stdout cd2c0f22b8a6433762b654b556f3319ba259da0f