tabheaders

package
v6.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColsMessage

func ColsMessage(cols []string) string

func GetHeaders

func GetHeaders(allColumns []string, defaultColumns []string, customColumns []string) []string

GetHeaders takes all columns of a resource and the value of the columns flag, returns the headers of the table. (Some legacy code might refer to these headers as "Columns")

func GetHeadersAllDefault

func GetHeadersAllDefault(allColumns []string, customColumns []string) []string

GetHeadersAllDefault is like GetHeaders, but defaultColumns is same as allColumns. Useful for resources with small print table

Types

This section is empty.

Jump to

Keyboard shortcuts

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