matterbridge/vendor/github.com/kyokomi/emoji/v2
Wim 6a3fc71397
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18

* Exclude unnecessary linters and update build to go1.18
2022-08-13 16:14:26 +02:00
..
.gitignore Update vendor (#1446) 2021-04-03 19:16:46 +02:00
LICENSE Update vendor (#1446) 2021-04-03 19:16:46 +02:00
README.md Update vendor (#1446) 2021-04-03 19:16:46 +02:00
emoji.go Update vendor (#1446) 2021-04-03 19:16:46 +02:00
emoji_codemap.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
wercker.yml Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00

README.md

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