 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var GemojiData = Gemoji{}/* 3395 elements not displayed */
    Code generated by build/generate-emoji.go. DO NOT EDIT. Sourced from https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json
Functions ¶
func FindEmojiSubmatchIndex ¶
FindEmojiSubmatchIndex returns index pair of longest emoji in a string
func ReplaceAliases ¶
ReplaceAliases replaces all aliases of the form ":alias:" with its corresponding unicode value.
func ReplaceCodes ¶
ReplaceCodes replaces all emoji codes with the first corresponding emoji alias (in the form of ":alias:") (ie, "\u2618" will be converted to ":shamrock:").
Types ¶
type Emoji ¶
type Emoji struct {
	Emoji          string
	Description    string
	Aliases        []string
	UnicodeVersion string
	SkinTones      bool
}
    Emoji represents a single emoji and associated data.
 Click to show internal directories. 
   Click to hide internal directories.