Center text in a terminal with Go

This guide will show how simple it is to center text in a terminal or a text file using the Go standard and external libraries. We will create two functions, NCenter, which provides for a width parameter, and a Center func that will determine the center placement based on the width of the terminal screen.
You can find the final code on GitHub or play with NCenter() in the Go Playground.
