11 lines
166 B
Go
11 lines
166 B
Go
|
package rendering
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"github.com/enescakir/emoji"
|
||
|
)
|
||
|
|
||
|
func Emoji(e emoji.Emoji) string {
|
||
|
return fmt.Sprintf("<span font='FontAwesome'>%s</span>", e)
|
||
|
}
|