
Install
go get github.com/ahmadrosid/gemoji
Usage
println(gemoji.Format("This is :rocket: and :smile:"))
// This is 🚀 and 😄
println(gemoji.Format("This is :rocket: and :smile: :invalid:"))
// This is 🚀 and 😄 :invalid:
Get Emoji
println(gemoji.Get(":rocket:")) // 🚀
println(gemoji.Get("heartbeat")) // 💓
Credit
emojicpp
LICENSE
The MIT License (MIT) - see LICENSE.md for more details