1.0 KiB
1.0 KiB
Emoji
Emoji is a simple golang package.
Get it:
go get gopkg.in/kyokomi/emoji.v1
Import it:
import (
"gopkg.in/kyokomi/emoji.v1"
)
Usage
package main
import (
"fmt"
"github.com/kyokomi/emoji"
)
func main() {
fmt.Println("Hello World Emoji!")
emoji.Println(":beer: Beer!!!")
pizzaMessage := emoji.Sprint("I like a :pizza: and :sushi:!!")
fmt.Println(pizzaMessage)
}