Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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