rego

package
v0.0.0-...-263eb77 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package rego renders vgo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aqua

func Aqua(text interface{}) string

func Black

func Black(text interface{}) string

func BlackBold

func BlackBold(message string) string

BlackBold returns a black bold string

func Blue

func Blue(text interface{}) string

func BlueBold

func BlueBold(message string) string

BlueBold returns a blue bold string

func Brace

func Brace(text string) []string

func Btextn

func Btextn(text interface{}) string

func Colorize

func Colorize(text string, status string) string

func CopyFile

func CopyFile(src, dst string) (w int64, err error)

func CopyOFile

func CopyOFile(srcName, dstName string) (written int64, err error)

func Cyan

func Cyan(text interface{}) string

func CyanBold

func CyanBold(message string) string

CyanBold returns a cyan bold string

func Dim

func Dim(text interface{}) string

func Display

func Display(text interface{}) string

func Dred

func Dred(text interface{}) string

func FindArrVal

func FindArrVal(key []string) []string

func FindBVal

func FindBVal(key, rstr string) []string

func FindDiv

func FindDiv(text string) []string

func FindIf

func FindIf(str string) []string

func FindImp

func FindImp(text string) ([]string, []string)

func FindKey

func FindKey(key []string) []string

func FindLabel

func FindLabel(text string) []string

func FindNoVal

func FindNoVal(text string) []string

func FindQVal

func FindQVal(key, text string) []string

func FindS

func FindS(str string) []string

func FindScr

func FindScr(str string) []string

func FindSty

func FindSty(str string) []string

func FindTag

func FindTag(rmap Map, name []string, text string) ([]string, string, [][]string, []string, [][]string, [][]string)

func FindVal

func FindVal(key, text string) []string

func FindaKey

func FindaKey(key []string) []string

func Gray

func Gray(text interface{}) string

func GrayBold

func GrayBold(message string) string

GrayBold returns a gray bold string

func Green

func Green(text interface{}) string

func GreenBold

func GreenBold(message string) string

GreenBold returns a green bold string

func ImpBrace

func ImpBrace(imp, key, text string) []string

func ImpClass

func ImpClass(class []string, userandom ...int) []string

ImpClass

func ImpHtml

func ImpHtml(class []string, layout string)

func ImpName

func ImpName(str string) ([]string, []string)

func ImpStr

func ImpStr(notes string) ([]string, string, []string, []string, [][]string, [][]string)

func IsImp

func IsImp(trimName []string, keyarr, tnotes string) string

func KeyBrace

func KeyBrace(key, text string) []string

func Lblue

func Lblue(text interface{}) string

func Lime

func Lime(text interface{}) string

func ListDir

func ListDir(dirPth string, suffix string) (files []string, err error)

func ListFile

func ListFile(dirPth string, suffix string) (files []string, err error)

func Magenta

func Magenta(message string) string

Magenta returns a magenta string

func MagentaBold

func MagentaBold(message string) string

MagentaBold returns a magenta bold string

func Navy(text interface{}) string

func Orange

func Orange(text interface{}) string

func PathExists

func PathExists(path string) (bool, error)

func Pink

func Pink(text interface{}) string

func PrintErr

func PrintErr(err error)

func Purple

func Purple(text interface{}) string

func Quotation

func Quotation(rfile string) []string

func ReArr

func ReArr(str string, find, val []string) string

func ReArrOne

func ReArrOne(str string, oldFind, newVal []string) string

func ReArro

func ReArro(str string, find, val []string) string

func ReReg

func ReReg(str, reg string, val []string) string

func ReRegNil

func ReRegNil(str, reg string) string

func ReRegOne

func ReRegOne(str, reg string, val []string) string

func Readfile

func Readfile(fname string) (string, error)

func Red

func Red(text interface{}) string

func RedArr

func RedArr(text interface{}) []string

func RedBold

func RedBold(message string) string

RedBold returns a red bold string

func RendersVgo

func RendersVgo(name string)

func TBrace

func TBrace(rfile string) string

func TrimB

func TrimB(str string) string

func TrimBlank

func TrimBlank(str string) string

TrimBlank

func TrimBrace

func TrimBrace(rfile string) string

func TrimIs

func TrimIs(str string) string

func TrimName

func TrimName(name []string) []string

func TrimNotes

func TrimNotes(rfile string) string

func TrimQ

func TrimQ(tkey string, restr []string) []string

func TrimQt

func TrimQt(str string) string

func TrimS

func TrimS(str string) string

func TrimSlot

func TrimSlot(text string) string

func TrimTVal

func TrimTVal(tkey string, restr []string) []string

func TrimVal

func TrimVal(fval []string, keyarr, header, tvgostr string) string

func Uline

func Uline(text interface{}) string

func UnuseRand

func UnuseRand()

func WHtml

func WHtml(class []string, layout string, args ...string)

func WalkDir

func WalkDir(dirPth, suffix string) (files []string, err error)

func WalkFile

func WalkFile(dirPth, suffix string) (files []string, err error)

func White

func White(text interface{}) string

func WhiteBold

func WhiteBold(message string) string

WhiteBold returns a white bold string

func Writefile

func Writefile(writeStr string, userFile string)

func Yellow

func Yellow(text interface{}) string

func YellowBold

func YellowBold(message string) string

YellowBold returns a yellow bold string

Types

type ColorCode

type ColorCode string

type Map

type Map map[string]interface{}

func ImpMap

func ImpMap(notes string) (Map, []string, []string)

type Tag

type Tag struct {
	Name   string
	PosArr []int
}

Jump to

Keyboard shortcuts

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