display

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayPaginatedTable

func DisplayPaginatedTable(fetch FetchFunction) error

func PrintTabularData

func PrintTabularData(title *string, rows []table.Row)

Types

type FetchFunction

type FetchFunction func(*api.PageInput) (*string, []table.Row, *api.PageInfo, int, error)

a FetchFunction retrieves a page of data and returns it formatted as maps

Jump to

Keyboard shortcuts

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