README ¶ emoji emoji for golang, data come from https://github.com/iamcal/emoji-data/tree/master/build generate map cd translate go run main.go usage import "github.com/17media/emoji" emoji.Emojitize(message) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func BuildTable(searchDir string) error func Emoji(emoji string) string func Emojitize(emojis string) string func WriteToGo(filepath string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BuildTable ¶ func BuildTable(searchDir string) error func Emoji ¶ func Emoji(emoji string) string Emoji returns the unicode value for the given emoji. If the specified emoji does not exist, Emoji() returns the empty string. func Emojitize ¶ func Emojitize(emojis string) string Emojitize takes in a string with emojis specified in it, and returns a string with every emoji place holder replaced with it's unicode value (unless it could not be found, in which case it is let alone). func WriteToGo ¶ func WriteToGo(filepath string) error Types ¶ This section is empty. Source Files ¶ View all Source files emoji.go emojiMap.go Directories ¶ Show internal Expand all Path Synopsis examples translate Click to show internal directories. Click to hide internal directories.