bin

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ErrPrefix = "Error:"

Variables

View Source
var ExitFunc = os.Exit
View Source
var ExitMessageForTesting string

Functions

func ParseFlagAndInitLog

func ParseFlagAndInitLog()

func PrintAndExitWithErrPrefix

func PrintAndExitWithErrPrefix(message string)

func PrintErrAndExit

func PrintErrAndExit(message string)

func PrintErrRespAndExit added in v1.3.0

func PrintErrRespAndExit(response *spec.Response)

func PrintOutputAndExit

func PrintOutputAndExit(message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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