SYMBOL INDEX (145 symbols across 21 files) FILE: balloon.go type border (line 11) | type border struct method borderType (line 18) | func (cow *Cow) borderType() border { type line (line 36) | type line struct type lines (line 41) | type lines method maxLineWidth (line 43) | func (cow *Cow) maxLineWidth(lines []*line) int { method getLines (line 56) | func (cow *Cow) getLines(phrase string) []*line { method canonicalizePhrase (line 69) | func (cow *Cow) canonicalizePhrase(phrase string) string { method Balloon (line 81) | func (cow *Cow) Balloon(phrase string) string { method writeBallon (line 92) | func (cow *Cow) writeBallon(lines []*line, maxWidth int) { method flush (line 144) | func (cow *Cow) flush(text, top, bottom fmt.Stringer) string { method padding (line 153) | func (cow *Cow) padding(line *line, maxWidth int) { FILE: cmd/cowsay/main.go function main (line 11) | func main() { FILE: cmd/cowthink/main.go function main (line 11) | func main() { FILE: cmd/internal/cli/cli.go function init (line 26) | func init() { type options (line 41) | type options struct type CLI (line 65) | type CLI struct method program (line 73) | func (c *CLI) program() string { method Run (line 81) | func (c *CLI) Run(argv []string) int { method mow (line 99) | func (c *CLI) mow(argv []string) error { method parseOptions (line 130) | func (c *CLI) parseOptions(opts *options, argv []string) ([]string, er... method usage (line 145) | func (c *CLI) usage() []byte { method generateOptions (line 156) | func (c *CLI) generateOptions(opts *options) []cowsay.Option { method phrase (line 202) | func (c *CLI) phrase(opts *options, args []string) string { method mowmow (line 214) | func (c *CLI) mowmow(opts *options, args []string) error { function cowList (line 190) | func cowList() []string { function selectFace (line 248) | func selectFace(opts *options, o []cowsay.Option) []cowsay.Option { FILE: cmd/internal/cli/cli_test.go function TestCLI_Run (line 14) | func TestCLI_Run(t *testing.T) { FILE: cmd/internal/screen/buffer.go function Flush (line 15) | func Flush() string { type MoveWriter (line 21) | type MoveWriter struct method SetPosx (line 44) | func (m *MoveWriter) SetPosx(x int) { method Reset (line 50) | func (m *MoveWriter) Reset() { method Write (line 56) | func (m *MoveWriter) Write(bs []byte) (nn int, _ error) { method WriteString (line 88) | func (m *MoveWriter) WriteString(s string) (nn int, _ error) { function NewMoveWriter (line 34) | func NewMoveWriter(w io.Writer, x, y int) *MoveWriter { function getXY (line 120) | func getXY(x int, y int) (int, int) { function currentHeight (line 144) | func currentHeight() int { FILE: cmd/internal/screen/screen.go function SaveState (line 15) | func SaveState() { Stdout.Write([]byte("\0337")) } function RestoreState (line 18) | func RestoreState() { Stdout.Write([]byte("\0338")) } function Clear (line 21) | func Clear() { Stdout.Write([]byte("\033[2J")) } function HideCursor (line 24) | func HideCursor() { Stdout.Write([]byte("\033[?25l")) } function UnHideCursor (line 27) | func UnHideCursor() { Stdout.Write([]byte("\033[?25h")) } function getSize (line 35) | func getSize() (int, int) { function Width (line 47) | func Width() int { function Height (line 53) | func Height() int { FILE: cmd/internal/super/supercow.go function getNoSaidCow (line 19) | func getNoSaidCow(cow *cowsay.Cow, opts ...cowsay.Option) (string, error) { function RunSuperCow (line 29) | func RunSuperCow(phrase string, withBold bool, opts ...cowsay.Option) er... function createBlankSpace (line 74) | func createBlankSpace(balloon string) string { function maxLen (line 83) | func maxLen(cow []string) int { type cowLine (line 94) | type cowLine struct method Len (line 99) | func (c *cowLine) Len() int { method Slice (line 103) | func (c *cowLine) Slice(i, j int) string { function makeCowLines (line 110) | func makeCowLines(cow string) []*cowLine { type renderer (line 127) | type renderer struct method createFrames (line 168) | func (r *renderer) createFrames(cow *cowsay.Cow, withBold bool) { method render (line 214) | func (r *renderer) render() { method posX (line 230) | func (r *renderer) posX(i int) int { method newWriter (line 245) | func (r *renderer) newWriter(withBold bool) *Writer { function newRenderer (line 140) | func newRenderer(saidCow, notSaidCow string) *renderer { constant magic (line 162) | magic = 2 constant span (line 164) | span = 30 * time.Millisecond constant standup (line 165) | standup = 3 * time.Second type Writer (line 239) | type Writer struct method WriteString (line 263) | func (w *Writer) WriteString(s string) (int, error) { return w.dw.Writ... method Write (line 266) | func (w *Writer) Write(p []byte) (int, error) { return w.dw.Write(p) } method SetPosx (line 269) | func (w *Writer) SetPosx(x int) { w.mw.SetPosx(x) } method SetColorSeq (line 272) | func (w *Writer) SetColorSeq(colorSeq int) { w.dw.SetColorSeq(colorSeq) } method Reset (line 275) | func (w *Writer) Reset() { method String (line 280) | func (w *Writer) String() string { FILE: cow.go type Cow (line 10) | type Cow struct method Say (line 44) | func (cow *Cow) Say(phrase string) (string, error) { method Clone (line 55) | func (cow *Cow) Clone(options ...Option) (*Cow, error) { function New (line 23) | func New(options ...Option) (*Cow, error) { type Option (line 68) | type Option function Eyes (line 72) | func Eyes(s string) Option { function Tongue (line 81) | func Tongue(s string) Option { function adjustTo2Chars (line 88) | func adjustTo2Chars(s string) string { function containCows (line 98) | func containCows(target string) (*CowFile, error) { type NotFound (line 113) | type NotFound struct method Error (line 119) | func (n *NotFound) Error() string { function Type (line 124) | func Type(s string) Option { function Thinking (line 142) | func Thinking() Option { function Thoughts (line 152) | func Thoughts(thoughts rune) Option { function Random (line 160) | func Random() Option { function pickCow (line 171) | func pickCow() (*CowFile, error) { function BallonWidth (line 188) | func BallonWidth(size uint) Option { function DisableWordWrap (line 197) | func DisableWordWrap() Option { FILE: cow_test.go function TestCow_Clone (line 12) | func TestCow_Clone(t *testing.T) { function Test_adjustTo2Chars (line 122) | func Test_adjustTo2Chars(t *testing.T) { function TestNotFound_Error (line 158) | func TestNotFound_Error(t *testing.T) { FILE: cowsay.go function init (line 14) | func init() { function Say (line 19) | func Say(phrase string, options ...Option) (string, error) { type LocationType (line 28) | type LocationType constant InBinary (line 32) | InBinary LocationType = iota constant InDirectory (line 35) | InDirectory type CowPath (line 39) | type CowPath struct method Lookup (line 51) | func (c *CowPath) Lookup(target string) (*CowFile, bool) { type CowFile (line 65) | type CowFile struct method ReadAll (line 77) | func (c *CowFile) ReadAll() ([]byte, error) { function Cows (line 88) | func Cows() ([]*CowPath, error) { function cowsFromCowPath (line 101) | func cowsFromCowPath() ([]*CowPath, error) { method GetCow (line 132) | func (cow *Cow) GetCow() (string, error) { FILE: cowsay_test.go function TestCows (line 16) | func TestCows(t *testing.T) { function TestCowPath_Lookup (line 94) | func TestCowPath_Lookup(t *testing.T) { function TestCowFile_ReadAll (line 132) | func TestCowFile_ReadAll(t *testing.T) { constant defaultSay (line 159) | defaultSay = ` ________ function TestSay (line 168) | func TestSay(t *testing.T) { FILE: decoration/aurora.go method writeAsAurora (line 11) | func (w *Writer) writeAsAurora(b []byte) (nn int, err error) { method writeStringAsAurora (line 37) | func (w *Writer) writeStringAsAurora(s string) (nn int, err error) { constant freq (line 64) | freq = 0.01 constant m (line 65) | m = math.Pi / 3 constant redPhase (line 67) | redPhase = 0 constant greenPhase (line 68) | greenPhase = 2 * m constant bluePhase (line 69) | bluePhase = 4 * m function rgb (line 74) | func rgb(i float64) int64 { FILE: decoration/bold.go method writeAsDefaultBold (line 10) | func (w *Writer) writeAsDefaultBold(b []byte) (nn int, err error) { method writeStringAsDefaultBold (line 30) | func (w *Writer) writeStringAsDefaultBold(s string) (nn int, err error) { FILE: decoration/decoration.go type options (line 8) | type options struct method maybeBold (line 15) | func (o *options) maybeBold() string { type Option (line 23) | type Option function WithBold (line 26) | func WithBold() Option { function WithRainbow (line 33) | func WithRainbow() Option { function WithAurora (line 40) | func WithAurora(initialSeq int) Option { type Writer (line 48) | type Writer struct method SetColorSeq (line 72) | func (w *Writer) SetColorSeq(colorSeq int) { method Write (line 80) | func (w *Writer) Write(b []byte) (nn int, err error) { method WriteString (line 96) | func (w *Writer) WriteString(s string) (n int, err error) { function NewWriter (line 60) | func NewWriter(w io.Writer, opts ...Option) *Writer { FILE: decoration/rainbow.go constant red (line 11) | red = iota + 31 constant green (line 12) | green constant yellow (line 13) | yellow constant blue (line 14) | blue constant magenta (line 15) | magenta constant cyan (line 16) | cyan method writeAsRainbow (line 21) | func (w *Writer) writeAsRainbow(b []byte) (nn int, err error) { method writeStringAsRainbow (line 48) | func (w *Writer) writeStringAsRainbow(s string) (nn int, err error) { FILE: embed.go function Asset (line 15) | func Asset(path string) ([]byte, error) { function AssetNames (line 20) | func AssetNames() []string { function CowsInBinary (line 38) | func CowsInBinary() []string { FILE: examples/basic/main.go function main (line 9) | func main() { function simple (line 17) | func simple() { function complex (line 29) | func complex() { FILE: examples/echo-server/main.go constant limit (line 16) | limit = 1000 function main (line 18) | func main() { FILE: split.go function splitPath (line 8) | func splitPath(s string) []string { FILE: split_windows.go function splitPath (line 8) | func splitPath(s string) []string {