Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyokomi/emoji
:sushi: emoji terminal output for golang
https://github.com/kyokomi/emoji
Last synced: 9 days ago
JSON representation
:sushi: emoji terminal output for golang
- Host: GitHub
- URL: https://github.com/kyokomi/emoji
- Owner: kyokomi
- License: mit
- Created: 2014-06-21T09:07:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T08:36:13.000Z (about 2 months ago)
- Last Synced: 2024-10-10T00:26:36.965Z (30 days ago)
- Language: Go
- Homepage:
- Size: 598 KB
- Stars: 782
- Watchers: 8
- Forks: 90
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - kyokomi/emoji
- awesome-starred - kyokomi/emoji - :sushi: emoji terminal output for golang (others)
README
# Emoji
Emoji is a simple golang package.![master workflow](https://github.com/kyokomi/emoji/actions/workflows/go.yml/badge.svg)
[![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 mainimport (
"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)