Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func HapesInBinary ¶
func HapesInBinary() []string
HapesInBinary returns the list of hapefiles which are in binary. the list is memoized.
Types ¶
type Hape ¶
type Hape struct {
// contains filtered or unexported fields
}
Hape struct!!
type HapeFile ¶
type HapeFile struct { // Name is name of the hapefile. Name string // BasePath is the path which the hapepath is in. BasePath string // LocationType is the type of COWPATH LocationType LocationType }
HapeFile is information of the hapefile.
type HapePath ¶
type HapePath struct { // Name is name of the COWPATH. // If you specified `COWPATH=/foo/bar`, Name is `/foo/bar`. Name string // HapeFiles are name of the hapefile which are trimmed ".hape" suffix. HapeFiles []string // LocationType is the type of COWPATH LocationType LocationType }
HapePath is information of the COWPATH.
type LocationType ¶
type LocationType int
LocationType indicates the type of COWPATH.
const ( // InBinary indicates the COWPATH in binary. InBinary LocationType = iota // InDirectory indicates the COWPATH in your directory. InDirectory )
type NotFound ¶
type NotFound struct {
Hapefile string
}
NotFound is indicated not found the hapefile.
type Option ¶
Option defined for Options
func DisableWordWrap ¶
func DisableWordWrap() Option
DisableWordWrap disables word wrap. Ignoring width of the ballon.
func Eyes ¶
Eyes specifies eyes The specified string will always be adjusted to be equal to two characters.
func Thoughts1 ¶
Thoughts Thoughts allows you to specify the rune that will be drawn between the speech bubbles and the hape