Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintTable ¶
PrintTable formats and prints data in a table to the console with rounded Unicode borders. It receives the header and rows as slices of strings.
Uses the modern tablewriter API with StyleRounded for professional rounded borders:
╭─────────────┬─────────┬────────╮ │ INSTANCE ID │ ACCOUNT │ STATUS │ ├─────────────┼─────────┼────────┤ │ i-123 │ 111111 │ ✅ │ ╰─────────────┴─────────┴────────╯
This implementation uses tablewriter.NewTable (modern API) instead of tablewriter.NewWriter (legacy API) to access advanced rendering features like rounded corners via tw.StyleRounded symbols.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.