Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlipPersonGender ¶
FlipPersonGender gives either 0x1f468 or 0x1f469, based on which other one was passed.
func RandomPersonGender ¶
func RandomPersonGender() rune
RandomPersonGender returns either 0x1f468 or 0x1f469.
Types ¶
type Data ¶
type Data struct { LinkData Alts []string All []LinkData // contains filtered or unexported fields }
type EmojiFormat ¶
type EmojiFormat struct { Groups []interface{} `json:"groups"` Emoji []interface{} `json:"all"` }
EmojiFormat is returned via the .format call.
type LinkData ¶
LinkData contains a ref to another Data, including the emoji for rendering.
func (LinkData) IsValid ¶
IsValid returns whether this info is valid to display, or whether it is special.
func (LinkData) RenderEmoji ¶
RenderEmoji renders either the single emoji, or a random arrangement of profession emoji.
func (LinkData) RenderSingleEmoji ¶
RenderSingleEmoji renders either the single emoji, or a randomly gendered profession emoji.
Click to show internal directories.
Click to hide internal directories.