Help us shape the future of Go! Take the 2026 Go Developer Survey

table

package
v1.23.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Markdown added in v1.3.1

func Markdown(headers []string, rows [][]string) string

Markdown renders headers and rows as a GitHub-flavored Markdown table. Cell contents are written verbatim - callers must pre-escape pipes if needed.

func Print

func Print(headers []string, rows [][]string)

Print renders a table to stdout.

func Render

func Render(headers []string, rows [][]string) string

Render builds a table string from headers and rows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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