https://github.com/kitagry/go-emoji
emoji markup to emoji.
https://github.com/kitagry/go-emoji
Last synced: 3 months 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 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-16T12:40:27.000Z (over 4 years ago)
- Last Synced: 2025-04-06T05:48:45.899Z (3 months ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## 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😊
```