colorizer

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package colorizer provides utilities for showing results data.

Index

Constants

View Source
const (
	// RiskHigh is a supported risk.
	RiskHigh = "HIGH"
	// RiskMedium is a supported risk.
	RiskMedium = "MEDIUM"
	// RiskLow is a supported risk.
	RiskLow = "LOW"
	// RiskUnknown is a supported risk.
	RiskUnknown = "UNKNOWN"
)

Variables

This section is empty.

Functions

func ColorizeRisk

func ColorizeRisk(risk string) string

ColorizeRisk will color the risk table item according the risk type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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