github.com/rorecek/percentage (go): Package percentage - a clean interface to calculate percentages in Go (changes between values, percentage increases and partial values). Think of it as a very lightweight math library for the basic stuff. Aimed to make your code more readable and easier to understand.  What's the percentage increase from 100 to 120?  What's the absolute percentage change from 100 to 80?  How much is 120 compared to 100?  How much is 50 compared to 100?  What is 20% of 200?
Keywords: go|golang|percentage