Back to godoc.org

Package runner

v0.6.0
Latest Go to latest

The latest major version is .

Published: Apr 9, 2020 | License: MIT | Module: github.com/psampaz/go-mod-outdated

Overview

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

Index

Variables

var OsExit = os.Exit

OsExit is use here in order to simplify testing

func Run

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

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier