Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makew0rld/go-isemoji
Go library to test if a string is an emoji.
https://github.com/makew0rld/go-isemoji
Last synced: 2 months ago
JSON representation
Go library to test if a string is an emoji.
- Host: GitHub
- URL: https://github.com/makew0rld/go-isemoji
- Owner: makew0rld
- License: mit
- Created: 2020-08-04T15:59:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T14:02:13.000Z (over 1 year ago)
- Last Synced: 2024-10-26T22:25:58.907Z (2 months ago)
- Language: Go
- Size: 91.8 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-isemoji
[![go reportcard](https://goreportcard.com/badge/github.com/makeworld-the-better-one/go-isemoji)](https://goreportcard.com/report/github.com/makeworld-the-better-one/go-isemoji)
[![GoDoc](https://godoc.org/github.com/makeworld-the-better-one/go-isemoji?status.svg)](https://godoc.org/github.com/makeworld-the-better-one/go-isemoji)
[![license](https://img.shields.io/github/license/makeworld-the-better-one/go-isemoji)](./LICENSE)Go library to test if a string is an emoji.
## 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.