5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-14 21:10:28 +00:00
matterbridge/vendor/github.com/kyokomi/emoji/v2/README.md

54 lines
965 B
Markdown
Raw Normal View History

# Emoji
Emoji is a simple golang package.
2023-01-28 21:57:53 +00:00
![master workflow](https://github.com/kyokomi/emoji/actions/workflows/go.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/kyokomi/emoji/badge.png?branch=master)](https://coveralls.io/r/kyokomi/emoji?branch=master)
[![GoDoc](https://pkg.go.dev/badge/github.com/kyokomi/emoji.svg)](https://pkg.go.dev/github.com/kyokomi/emoji/v2)
Get it:
```
go get github.com/kyokomi/emoji/v2
```
Import it:
```
import (
"github.com/kyokomi/emoji/v2"
)
```
## Usage
```go
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](screen/image.png)
## Reference
- [unicode Emoji Charts](http://www.unicode.org/emoji/charts/emoji-list.html)
## License
[MIT](https://github.com/kyokomi/emoji/blob/master/LICENSE)