io

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SlackChannel string
	CustomIndent = ""
	BinName      = filepath.Base(os.Args[0])
	LogFile      string
)

Functions

func AppendF

func AppendF(logfile, format string, argv ...interface{})

func ErrorF

func ErrorF(format string, argv ...interface{}) (err error)

ErrorF wraps fmt.Errorf and also issues a NotifyF with the error message

func FatalF

func FatalF(format string, argv ...interface{})

func GitTagRelVer

func GitTagRelVer() (gitTag, relVer string)

func GitTagRelVerString

func GitTagRelVerString() (out string)

func NotifyF

func NotifyF(tag, format string, argv ...interface{})

func STDERR

func STDERR(format string, argv ...interface{})

func STDOUT

func STDOUT(format string, argv ...interface{})

func SetupCustomIndent

func SetupCustomIndent(ctx *cli.Context) (err error)

func SetupSlackIfPresent

func SetupSlackIfPresent(ctx *cli.Context) (err error)

func StderrF

func StderrF(format string, argv ...interface{})

func StdoutF

func StdoutF(format string, argv ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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