Documentation ¶
Index ¶
- func Contains[T comparable](s []T, e T) bool
- func Filter[T any](ss []T, test func(T) bool) (ret []T)
- func GetAsJson[T any](item T) string
- func HasNextPageLink(link []*types.Link) bool
- func Map[T any, R any](ss []T, transform func(T) R) (ret []R)
- func Print[T any](outputFormat string, items []T, namePath string, columnHeaders []string, ...)
- func PrintColumns[T any](items []T, columnHeaders []string, columnPaths []string)
- func PrintJson[T any](items []T)
- func PrintNames[T any](items []T, namePath string)
- func PrintYaml[T any](items []T)
- func Printf(w io.Writer, format string, a ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v0.2.0
func Contains[T comparable](s []T, e T) bool
func HasNextPageLink ¶ added in v0.3.0
func HasNextPageLink(link []*types.Link) bool
func PrintColumns ¶
func PrintNames ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.