matterbridge/vendor/github.com/kyokomi/emoji/v2
Wim 2f33fe86f5
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22

* Fix api changes wrt to dependencies

* Update golangci config
2024-05-23 23:44:31 +02:00
..
.gitignore Update vendor (#1446) 2021-04-03 19:16:46 +02:00
emoji_codemap.go Update dependencies and build to go1.22 (#2113) 2024-05-23 23:44:31 +02:00
emoji.go Update dependencies and build to go1.22 (#2113) 2024-05-23 23:44:31 +02:00
LICENSE Update vendor (#1446) 2021-04-03 19:16:46 +02:00
README.md Update dependencies (#1951) 2023-01-28 22:57:53 +01:00

Emoji

Emoji is a simple golang package.

master workflow 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