forked from jshiffer/matterbridge
2f33fe86f5
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config |
||
---|---|---|
.. | ||
.gitignore | ||
emoji_codemap.go | ||
emoji.go | ||
LICENSE | ||
README.md |
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)
}