Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Description struct { Text string `json:"text"` Format Format `json:"format,omitempty" toml:",omitempty"` }
Description - representation of a blurb of a book.
type Format ¶
type Format uint8
Format - representation of formats of texts.
func ParseFormat ¶
Convert a string to a Format, returns an error if the string is unknown.
func (Format) MarshalText ¶
func (*Format) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.