table

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package table provides simple ASCII table rendering for terminal output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(w io.Writer, headers []string, data [][]string)

Render outputs a formatted ASCII table to the provided writer. The table displays headers as the first row followed by data rows. Each column width is determined by the longest content in that column.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL