output

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package output renders command results as either a text table or JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderRows

func RenderRows(w io.Writer, rows *sql.Rows, asJSON bool) error

RenderRows pretty-prints sql.Rows. It consumes the cursor.

func RenderTable

func RenderTable(w io.Writer, headers []string, rows [][]string, asJSON bool) error

RenderTable prints a generic 2D table (used by schema/proposal list).

Types

This section is empty.

Jump to

Keyboard shortcuts

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