Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitagry/go-emoji
emoji markup to emoji.
https://github.com/kitagry/go-emoji
Last synced: 13 days ago
JSON representation
emoji markup to emoji.
- Host: GitHub
- URL: https://github.com/kitagry/go-emoji
- Owner: kitagry
- Created: 2021-02-22T07:12:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-16T12:40:27.000Z (over 3 years ago)
- Last Synced: 2024-04-17T19:28:04.682Z (7 months ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![test](https://github.com/kitagry/go-emoji/workflows/Test/badge.svg)
## go-emoji
transform emoji markup to emoji
### Example
```go
import (
"github.com/kitagry/go-emoji"
"golang.org/x/text/transform"
)r := emoji.NewReplacer()
tf := transform.NewReader(strings.NewReader("Hello World:blush:"), r)
io.Copy(os.Stdout, tf)
// Hello Worldπ
```