util

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable(header table.Row, rows []table.Row, footer table.Row) table.Writer

func ExportTable

func ExportTable(header table.Row, rows []table.Row, footer table.Row) string

func MakeHttpGetCall

func MakeHttpGetCall(ctx context.Context, url string, data interface{}) error

func MakePath

func MakePath(filePath string, fileName string) string

func PrintTable

func PrintTable(title string, header table.Row, rows []table.Row, footer table.Row)

func RenderError

func RenderError(err error)

func RenderJson

func RenderJson(data interface{})

func RenderUseDiagUI

func RenderUseDiagUI()

func SaveDataToFile

func SaveDataToFile(filePath string, fileName string, data string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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