package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

FindEmojiSubmatchIndex returns index pair of longest emoji in a string.
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").
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:").

# Variables

Code generated by build/generate-emoji.go.

# Structs

Emoji represents a single emoji and associated data.

# Type aliases

Gemoji is a set of emoji data.