matterbridge/vendor/github.com/kyokomi/emoji/v2/README.md

1.0 KiB

Emoji

Emoji is a simple golang package.

wercker status Coverage Status GoDoc

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)
}

Demo

demo

Reference

License

MIT