import "code.gitea.io/gitea/modules/emoji"
Code generated by gen.go. DO NOT EDIT. Sourced from https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json
FindEmojiSubmatchIndex returns index pair of longest emoji in a string
ReplaceAliases replaces all aliases of the form ":alias:" with its corresponding unicode value.
ReplaceCodes replaces all emoji codes with the first corresponding emoji alias (in the form of ":alias:") (ie, "\u2618" will be converted to ":shamrock:").
type Emoji struct { Emoji string Description string Aliases []string UnicodeVersion string SkinTones bool }
Emoji represents a single emoji and associated data.
FromAlias retrieves the emoji data based on the provided alias in the form "alias" or ":alias:" (ie, "shamrock" or ":shamrock:" will return the Gemoji data for "shamrock").
FromCode retrieves the emoji data based on the provided unicode code (ie, "\u2618" will return the Gemoji data for "shamrock").
Gemoji is a set of emoji data.
Package emoji imports 3 packages (graph) and is imported by 9 packages. Updated 2020-07-28. Refresh now. Tools for package owners.