Documentation ¶
Overview ¶
The characters package contains all the features related to characters and quoting them.
As of today the package allows the loading of Characters structures that are a name and a list of associated quote. It also implement basic functionalities on top of the Character structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Character ¶
Character to retrieve quotes from. A Character is a name with a list of sentences.
func MakeCharactersSliceFromFolder ¶
MakeCharactersSliceFromFolder return a slice of characters generated from a folder containing the characters files.
type Properties ¶
Properties structure for the package characters Yaml structure to add to the properties' hierarchy :
folder: <characters_folder_path> (folder path where the characters information files are stored)
func (*Properties) UnmarshalYAML ¶
func (properties *Properties) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implementation for the package Properties
Click to show internal directories.
Click to hide internal directories.