mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-15 16:39:26 +01: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() {
.Println("Hello World Emoji!")
fmt
.Println(":beer: Beer!!!")
emoji
:= emoji.Sprint("I like a :pizza: and :sushi:!!")
pizzaMessage .Println(pizzaMessage)
fmt}