github.com/tawesoft/golib/v2@v2.10.0/legacy/humanize/doc.go (about) 1 // Package humanize is an elegant, general-purpose, extensible, modular, 2 // locale-aware way to format and parse numbers and quantities - like distances, 3 // bytes, and time - in a human-readable way ideal for config files and as a 4 // building-block for fully translated ergonomic user interfaces. 5 // 6 // This is the frozen version of the package previously at 7 // `tawesoft.co.uk/go/humanizex`. See [migration instructions]. 8 // 9 // [migration instructions]: https://github.com/tawesoft/golib/blob/v2/MIGRATIONS.md#package-tawesoftcoukgooperator 10 // 11 // ## Alternative - What about dustin's go-humanize? 12 // 13 // dustin's go-humanize (https://github.com/dustin/go-humanize) is 3.9 to 4.5 14 // times faster formatting and 2 times faster parsing, if this is a bottleneck 15 // for you. It's also quite mature, so is probably very well tested by now. If 16 // you're only targeting the English language it also has more handy "out of 17 // the box" features. 18 // 19 // On the other hand, tawesoft's humanizex is more general purpose and has 20 // better localisation support. 21 package humanize // import "tawesoft.co.uk/go/humanizex"