utils

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: BSD-3-Clause, MIT Imports: 17 Imported by: 0

Documentation

Overview

utils package contains general utility functions.

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(respErr error) error

func Render

func Render(data []renderer.ResponseData)

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