utils

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: BSD-3-Clause, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignValue

func AssignValue(obj interface{}, jsonName string, value interface{})

func BodyReader

func BodyReader(response runtime.ClientResponse)

func Exit

func Exit(msg string, err error)

func GetFieldValue

func GetFieldValue(obj interface{}, jsonName string) reflect.Value

func PrintError

func PrintError(err error)

PrintError prints a formatted error

func Render

func Render(data []renderer.ResponseData)

Render is a convenient wrapper

func Singular

func Singular(str string) string

func TitleStr

func TitleStr(str string) string

func Untar

func Untar(source, destination string) error

func Unzip

func Unzip(source, destination 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