Go already has plenty of packages to justify text, left or right, many coming straight out of the standard library.
This little function adds simultaneous left & right alignment (also known as "justification" in many word processors), using a visually pleasant algorithm.
More can be read on the README.md file (as well as a few examples of usage).
Features
- Go
Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial
You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of justify!