Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadrosid/gemoji
🥶 Emoticon package for Go developers
https://github.com/ahmadrosid/gemoji
go golang
Last synced: 22 days ago
JSON representation
🥶 Emoticon package for Go developers
- Host: GitHub
- URL: https://github.com/ahmadrosid/gemoji
- Owner: ahmadrosid
- License: mit
- Created: 2021-10-12T08:59:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T14:39:39.000Z (about 3 years ago)
- Last Synced: 2024-06-20T11:53:10.015Z (5 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![](/gemoji.png)
[![License](https://img.shields.io/github/license/ahmadrosid/gemoji.svg)](https://github.com/ahmadrosid/gemoji/blob/master/LICENSE) [![GitHub Actions workflow status](https://github.com/ahmadrosid/gemoji/workflows/build/badge.svg)](https://github.com/ahmadrosid/gemoji/actions) [![Go Report Card](https://pkg.go.dev/badge/github.com/ahmadrosid/gemoji)](https://pkg.go.dev/badge/github.com/ahmadrosid/gemoji) [![Go Report Card](https://goreportcard.com/badge/mattn/go-colorable)](https://goreportcard.com/report/mattn/go-colorable)
## Install
```bash
go get github.com/ahmadrosid/gemoji
```## Usage
### Format
```go
println(gemoji.Format("This is :rocket: and :smile:"))
// This is 🚀 and 😄println(gemoji.Format("This is :rocket: and :smile: :invalid:"))
// This is 🚀 and 😄 :invalid:
```### Get Emoji
```go
println(gemoji.Get(":rocket:")) // 🚀
println(gemoji.Get("heartbeat")) // 💓
```## Credit
[emojicpp](/99x/emojicpp)## LICENSE
The MIT License (MIT) - see [`LICENSE.md`](https://github.com/ahmadrosid/gemoji/blob/master/LICENSE.md) for more details