mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-19 20:09:02 -08:00
54 lines
965 B
Markdown
54 lines
965 B
Markdown
# Emoji
|
|
Emoji is a simple golang package.
|
|
|
|

|
|
[](https://coveralls.io/r/kyokomi/emoji?branch=master)
|
|
[](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
|
|
|
|

|
|
|
|
## Reference
|
|
|
|
- [unicode Emoji Charts](http://www.unicode.org/emoji/charts/emoji-list.html)
|
|
|
|
## License
|
|
|
|
[MIT](https://github.com/kyokomi/emoji/blob/master/LICENSE)
|