constants

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BoldColor = color.New(color.OpBold).Render

BoldColor makes text bold

View Source
var GreenColor = color.New(color.FgGreen, color.OpBold).Render

GreenColor makes text green

LoadingSpinner is a reusable loading spinner

View Source
var RedColor = color.New(color.FgRed, color.OpBold).Render

RedColor makes text red

View Source
var Regex386 = `(?i)(i?386|x86_32|amd32|x32)`

Regex386 is a regular express for 386 architectures

View Source
var RegexAmd64 = `(?i)(x86_64|amd64|x64)`

RegexAmd64 is a regular express for amd64 architectures

View Source
var RegexArm64 = `(?i)(arm64|aarch64)`

RegexArm64 is a regular express for arm64 architectures

View Source
var RegexDarwin = `(?i)(darwin|mac(os)?|apple|osx)`

RegexDarwin is a regular express for darwin systems

View Source
var RegexGithub = `(?i)^[A-Za-z0-9\-]+\/[A-Za-z0-9\_\.\-]+(@.+)?$`

RegexGithub is a regular express for valid GitHub repos

View Source
var RegexGithubSearch = `(?i)^[A-Za-z0-9\_\.\-\/]+$`

RegexGithubSearch is a regular express for valid GitHub search queries

View Source
var RegexURL = `(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])`

RegexURL is a regular express for valid URLs

View Source
var RegexWindows = `(?i)(windows|win)`

RegexWindows is a regular express for windows systems

View Source
var YellowColor = color.New(color.FgYellow, color.OpBold).Render

YellowColor makes text yellow

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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