jenkins-cli: github.com/jenkins-zh/jenkins-cli/app/helper Index | Files

package helper

import "github.com/jenkins-zh/jenkins-cli/app/helper"

Index

Package Files

error.go

func CheckErr Uses

func CheckErr(printer Printer, err error)

CheckErr print a friendly error message

func StandardErrorMessage Uses

func StandardErrorMessage(err error) (msg string, ok bool)

StandardErrorMessage is generic to the command in use

type Printer Uses

type Printer interface {
    PrintErr(i ...interface{})
    Println(i ...interface{})
    Printf(format string, i ...interface{})
}

Printer for print the info

Package helper imports 4 packages (graph) and is imported by 1 packages. Updated 2020-07-30. Refresh now. Tools for package owners.