severity

package
v0.0.0-...-b474970 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Severity

type Severity uint8

Severity represents severity of the link issue found

const (
	// Error is used when the link doesn't work and there's high chance it won't work ever again
	Error Severity = iota
	// Warn is used for less several link issues such as using http instead of https or if the error is most likely
	// only temporary
	Warn
	Info
)

func (Severity) Color

func (i Severity) Color() *color.Color

func (Severity) String

func (i Severity) String() string

Jump to

Keyboard shortcuts

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