mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 23:00:28 +00: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)
}