flag

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag int

Flag defines behaviours.

const (
	None Flag = iota

	// Force message will be processed, and printed independent of `Level`
	// restrictions.
	Force

	// Mute message will be processed, but not printed.
	Mute

	// Skip message will not be processed, but printed.
	Skip

	// SkipAndForce message will not be processed, but will be printed
	// independent of `Level` restrictions.
	SkipAndForce

	// SkipAndMute message will not be processed, neither printed.
	SkipAndMute
)

func (Flag) String

func (f Flag) String() string

String translates enum flags to string.

Jump to

Keyboard shortcuts

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