My dear friend 王晚成 , You ask about the padchar parameter. That is the character used for filling the space between columns. The meaning of tabwidth is not so simple. To understand that you should learn the algorithm. Please read this:
http://nickgravgaard.com/elastic-tabstops/ After getting a firm knowledge you can jump to the package documentation page: https://golang.org/pkg/text/tabwriter/ Search for "Examples" in that page and click on it. Pick one example. You can see a yellow panel showing example code. You can run it right in the page! Just click at "Run". Isn't that nice? You can actually edit the code and run it as many times as you want. In no time you will get a firm grasp of the meaning of each parameter. Good luck. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.