wave

package
v0.0.0-...-c7cd013 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WaveMaker

type WaveMaker struct {
	// SpongebobMocking gives you sPoNgEBoB MocKiNg TeXt
	SpongebobMocking bool
	// AllCaps gives you all capitalized text and ignores
	// SpongebobMocking
	AllCaps bool
	// ColumnSize is the spacing between each letter
	// horizontally
	ColumnSize int
	// NumberOfColumns allows you to specify how wide the wave
	// is in column numbers
	NumberOfColumns int
}

WaveMaker is responsible for formatting a string according to the associated options

func (*WaveMaker) MakeWave

func (w *WaveMaker) MakeWave(str string) []string

Jump to

Keyboard shortcuts

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