Documentation ¶ Index ¶ func GetEmojiDataShortcodeMap() map[string]Emoji type Converter func NewConverter() Converter func (conv *Converter) ConvertShortcodesString(input string, emoType EmojiType) string type Emoji type EmojiType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetEmojiDataShortcodeMap ¶ func GetEmojiDataShortcodeMap() map[string]Emoji Types ¶ type Converter ¶ type Converter struct { // contains filtered or unexported fields } func NewConverter ¶ func NewConverter() Converter func (*Converter) ConvertShortcodesString ¶ func (conv *Converter) ConvertShortcodesString(input string, emoType EmojiType) string type Emoji ¶ type Emoji struct { Ascii string Shortcode string Unicode string ShortcodeRx *regexp.Regexp } type EmojiType ¶ type EmojiType int const ( Shortcode EmojiType = iota Ascii Unicode ) Source Files ¶ View all Source files emoji.go Click to show internal directories. Click to hide internal directories.