We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code:
data := [][]string{ {"1/1/2014", "Domain name", "2233", "$10.98"}, {"1/1/2014", "January Hosting", "2233", "$54.95"}, {"1/4/2014", "February Hosting a very very long message", "2233", "$51.00"}, {"1/4/2014", "February Extra Bandwidth", "2233", "$30.00"}, } table := tablewriter.NewWriter(os.Stdout) table.SetHeader([]string{"Date", "Description", "CV2", "Amount"}) table.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false}) table.SetCenterSeparator("|") table.SetAlignment(tablewriter.ALIGN_LEFT) table.AppendBulk(data) table.Render()
result:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
code:
result:
The text was updated successfully, but these errors were encountered: