runner

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package runner is responsible for running the command and rendering the output

Index

Constants

This section is empty.

Variables

View Source
var OsExit = os.Exit

OsExit is use here in order to simplify testing

Functions

func Run

func Run(in io.Reader, out io.Writer, update, direct, exitWithNonZero bool, style OutputStyle) error

Run converts the the json output of go list -u -m -json all to table format

Types

type OutputStyle added in v0.9.0

type OutputStyle string

OutputStyle specifies the supported table rendering formats

const (
	// StyleDefault represents the default output style
	StyleDefault OutputStyle = "default"
	// StyleMarkdown represents the markdown formatted output style
	StyleMarkdown OutputStyle = "markdown"
)

Jump to

Keyboard shortcuts

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