table

package
v1.5.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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