symbols

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(a *Symbol, b string) bool

Types

type Symbol

type Symbol struct {
	// contains filtered or unexported fields
}
var (
	Newline          *Symbol = New("\n")
	CarridgeReturn   *Symbol = New("\r")
	Tab              *Symbol = New("\t")
	DoubleQuote      *Symbol = New("\"")
	SingleQuote      *Symbol = New("'")
	OpenBracket      *Symbol = New("(")
	CloseBracket     *Symbol = New(")")
	SquareQuoteOpen  *Symbol = New("[")
	SquareQuoteClose *Symbol = New("]")
	WildcardBlank    *Symbol = New("{{blank}}")
	Blank            *Symbol = New("-")
	Degree           *Symbol = New("°")
	Break            *Symbol = New(" ━━ ")
	Space            *Symbol = New(" ")
	PromptSymbol     *Symbol = New("? ")
	Truncate         *Symbol = New("...")
	Underline        *Symbol = New("-")
	FolderIcon       *Symbol = New("+")
	FileIcon         *Symbol = New("#")
	SymLinkIcon      *Symbol = New("~")
	Bullet           *Symbol = New("- ")
	DotDot           *Symbol = New("..")
	SymLinkID        *Symbol = New("L")
	ConfigDelimiter  *Symbol = New("|")
	TextDelimiter    *Symbol = New(" - ")
)

General Symbols

func New

func New(content string) *Symbol

func (*Symbol) Equals

func (s *Symbol) Equals(b string) bool

func (*Symbol) Len

func (s *Symbol) Len() int

func (*Symbol) Rune

func (s *Symbol) Rune() []rune

func (*Symbol) String

func (s *Symbol) String() string

func (*Symbol) Symbol

func (s *Symbol) Symbol() string

Jump to

Keyboard shortcuts

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