mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-30 14:42:00 -08:00
21eb37e471
* Update vendor * Use upstream emoji lib again |
||
---|---|---|
.. | ||
.gitignore | ||
emoji_codemap.go | ||
emoji.go | ||
go.mod | ||
LICENSE | ||
README.md | ||
wercker.yml |
Emoji
Emoji is a simple golang package.
Get it:
go get github.com/kyokomi/emoji/v2
Import it:
import (
"github.com/kyokomi/emoji/v2"
)
Usage
package main
import (
"fmt"
"github.com/kyokomi/emoji/v2"
)
func main() {
fmt.Println("Hello World Emoji!")
emoji.Println(":beer: Beer!!!")
pizzaMessage := emoji.Sprint("I like a :pizza: and :sushi:!!")
fmt.Println(pizzaMessage)
}