constval

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package constval contains the constants used in the project this package can't depend on other packages

Index

Constants

View Source
const (
	Black        = "\033[0;30m" // 0,0,0
	Red          = "\033[0;31m" // 205,0,0
	Green        = "\033[0;32m" // 0,205,0
	Yellow       = "\033[0;33m" // 205,205,0
	Blue         = "\033[0;34m" // 0,0,238
	Purple       = "\033[0;35m" // 205,0,205
	Cyan         = "\033[0;36m" // 0,205,205
	White        = "\033[0;37m" // 229,229,229
	BrightBlack  = "\033[0;90m" // 127,127,127
	BrightRed    = "\033[0;91m" // 255,0,0
	BrightGreen  = "\033[0;92m" // 0,255,0
	BrightYellow = "\033[0;93m" // 255,255,0
	BrightBlue   = "\033[0;94m" // 92,92,255
	BrightPurple = "\033[0;95m" // 255,0,255
	BrightCyan   = "\033[0;96m" // 0,255,255
	BrightWhite  = "\033[0;97m" // 255,255,255
	Success      = Green
	Error        = Red
	Warn         = Yellow
	Bold         = "\033[1m"
	Faint        = "\033[2m"
	Italics      = "\033[3m"
	Underline    = "\033[4m"
	Blink        = "\033[5m"
	Reverse      = "\033[7m"
	ReverseDone  = "\033[27m"
)
View Source
const (
	BoostThreshold = 0.7
	PrefixSize     = 4
)
View Source
const (
	NameOfName          = "Name"
	NameOfCharset       = "Charset"
	NameOfMIME          = "Mime-type"
	NameOfLink          = "Link"
	NameOfInode         = "Inode"
	NameOfIndex         = "#"
	NameOfGroupName     = "Group"
	NameOfGroupUidName  = "Group-uid"
	NameOfGroupSID      = "Group-sid"
	NameOfOwner         = "Owner"
	NameOfOwnerUid      = "Owner-uid"
	NameOfOwnerSID      = "Owner-sid"
	NameOfSize          = "Size"
	NameOfGitStatus     = "Git"
	NameOfGitRepoBranch = "Branch"
	NameOfGitRepoStatus = "Repo-status"
	NameOfPermission    = "Permissions"
	NameOfSum           = "Sum"
	NameOfRelativeTime  = "Relative-Time"
	NameOfTime          = "Time"
	NameOfTimeModified  = "Modified"
	NameOfTimeCreated   = "Created"
	NameOfTimeAccessed  = "Accessed"
	NameOfTimeBirth     = "Birth"
)
View Source
const DefaultHookLen = 5
View Source
const Reset = "\033[0m"

Variables

This section is empty.

Functions

This section is empty.

Types

type Hashable

type Hashable interface {
	constraints.Integer | constraints.Float | constraints.Complex | ~string | uintptr
}

Hashable is the type of values that may be used as map keys or set members. it should be exact same as haxmap.hashable (it's unexported, so we can't use it directly)

Directories

Path Synopsis
Package doc is used to generate docs when `-tags doc` is passed to go build Enable = true, and the corresponding logic in the main.go will be executed g.md and man will be generated by default, Enable = false
Package doc is used to generate docs when `-tags doc` is passed to go build Enable = true, and the corresponding logic in the main.go will be executed g.md and man will be generated by default, Enable = false

Jump to

Keyboard shortcuts

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