utils

package
v0.0.0-...-4d495be Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess = iota
	ExitError
	ExitBadConnection
	ExitInvalidInput
	ExitBadFeature
	ExitInterrupted
	ExitIO

	ExitErrorBlockerFindings
	ExitIncompatibleAPISpec
	ExitFailBelowScore

	ExitBadArgs = 128
)

Variables

This section is empty.

Functions

func ExitWithCode

func ExitWithCode(code int, a ...interface{})

ExitWithCode writes logs to stderr and exit

func NewTable

func NewTable(w io.Writer) *tablewriter.Table

func Pretty

func Pretty(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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