cmd

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 59

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TRUE string = "true"

Functions

func CheckError

func CheckError(err error)

CheckError prints err to stderr and exits with code 1 if err is not nil. Otherwise, it is a no-op.

func Exit added in v1.0.0

func Exit(msg string, args ...interface{})

Exit prints msg (with optional args), plus a newline, to stderr and exits with code 1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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