mirror of
https://github.com/42wim/matterbridge
synced 2024-11-15 06:12:55 +00:00
6a3fc71397
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18 |
||
---|---|---|
.. | ||
.gitignore | ||
emoji_codemap.go | ||
emoji.go | ||
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)
}