Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatalf

func Fatalf(format string, v ...interface{})

    Fatalf prints a formatted error message to stderr and exits the program with exit code 1.

    func ReportError

    func ReportError(err error)

      ReportError checks if there was an error and conditionally reports it by calling Fatalf().

      func SetVerbose

      func SetVerbose(v bool)

        SetVerbose enables or disables verbose messages.

        func Verbosef

        func Verbosef(format string, v ...interface{})

          Verbosef prints a formatted message to stdout if in verbose mode. Use SetVerbose to enable/disable verbose mode.

          func Warnf

          func Warnf(format string, v ...interface{})

            Warnf prints a formatted warning message to stderr.

            Types

            This section is empty.

            Source Files