A golang library for emoji chars converting.
$ go get -u github.com/chnlr/emoji
package main
import (
"fmt"
"github.com/chnlr/emoji"
)
func main() {
fmt.Println(emoji.EmojiTagToUnicode(`:+1:`)) // => 👍
}
Naoki OKAMURA a.k.a nyarla [email protected]
MIT
map.go
in this package is base by https://github.com/melborne/emot/blob/master/lib/emot/map.rb (ruby's emot)- this library is using to twemoji's SVG link with MaxCDN for generates emoji image link.
- twemoji's Graphics is under the CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/
- Copyright 2014 Twitter, Inc and other contributors