cldiag_no_prefix

package module
v0.0.0-...-9df9a3e Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cldiag_no_prefix provides the 8 core functions from cldiag.

The idea is to import this package without a prefix, like so:

import . "github.com/c12h/command-line-utils/cldiag/cldiag_no_prefix"

It provides wrappers for the Die[If][2] and Warn[If][2] functions from github.com/c12h/cmdUtils whose names are, I think, distinctive enough to not need prefixing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Die

func Die(format string, fmtArgs ...interface{})

func Die2

func Die2(tag, format string, fmtArgs ...interface{})

func DieIf

func DieIf(skipIfNil interface{}, format string, fmtArgs ...interface{})

func DieIf2

func DieIf2(skipIfNil interface{}, tag, format string, fmtArgs ...interface{})

func Warn

func Warn(format string, fmtArgs ...interface{})

func Warn2

func Warn2(tag, format string, fmtArgs ...interface{})

func WarnIf

func WarnIf(skipIfNil interface{}, format string, fmtArgs ...interface{})

func WarnIf2

func WarnIf2(skipIfNil interface{}, tag, format string, fmtArgs ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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