utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintTable

func PrintTable(rows *sql.Rows) ([][]string, error)

PrintTable prints all rows as table format.

func WriteTable

func WriteTable(w io.Writer, rows *sql.Rows) error

WriteTable writes table into writer.

func WriteTableColor

func WriteTableColor(w io.Writer, rows *sql.Rows) error

WriteTableColor writes colorful table into writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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