summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/kyokomi/emoji/v2/README.md
blob: e604598591c09f6afabe21ab8f2a8e5ff9a75102 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Emoji
Emoji is a simple golang package.

[![wercker status](https://app.wercker.com/status/7bef60de2c6d3e0e6c13d56b2393c5d8/s/master "wercker status")](https://app.wercker.com/project/byKey/7bef60de2c6d3e0e6c13d56b2393c5d8)
[![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)