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
|
# go-isemoji
[](https://goreportcard.com/report/github.com/makeworld-the-better-one/go-isemoji)
[](https://godoc.org/github.com/makeworld-the-better-one/go-isemoji)
[](./LICENSE)
Go library to test if a string is an emoji.
## Install
You can add it to your project by running the following command:
```
go get -u github.com/makeworld-the-better-one/go-isemoji
```
## Usage
```go
isemoji.IsEmoji("🤗") // True
isemoji.IsEmoji("test") // False
isemoji.IsEmoji("🙇🏼♂️🤗") // False, because there are multiple emojis
isemoji.Name("👨🏼🦰") // "man: medium-light skin tone, red hair"
```
Find the full documentation on [godoc](https://godoc.org/github.com/makeworld-the-better-one/go-isemoji).
## License
This project is under the MIT License.
|