Add emoji
This commit is contained in:
parent
a3fdc78c5c
commit
23282b94da
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ func (h *Handler) initTpl() {
|
||||||
for name, content := range TplMap {
|
for name, content := range TplMap {
|
||||||
views[name] = template.Must(template.New("main").Funcs(template.FuncMap{
|
views[name] = template.Must(template.New("main").Funcs(template.FuncMap{
|
||||||
"faces": func() []string {
|
"faces": func() []string {
|
||||||
return []string{"🙂", "😎", "😛", "🥰", "😂", "❤️", "👽", "😱", "🤔", "😯", "🤒", "😡", "🥺", "🥳", "🤖", "💀", "😴", "😭", "🤐", "💾", "👀", "☕", "🍺", "📖", "🔥", "❄️", "✨", "💡", "🎶", "✈️", "🚄", "🍿", "📰", "✏️", "🍱", "⛵", "🎁", "🌧️", "🌙", "🎨", "📺", "🍕", "✅", "🐶", "🐱"}
|
return []string{"🙂", "😎", "😛", "🥰", "😂", "❤️", "👽", "😱", "🤔", "😶", "😯", "🤒", "😡", "🥺", "🥳", "🤖", "💀", "😴", "😭", "🤐", "💾", "👀", "☕", "🍺", "📖", "🔥", "❄️", "✨", "💡", "🎶", "✈️", "🚄", "🍿", "📰", "✏️", "🍱", "⛵", "🎁", "🌧️", "🌙", "🎨", "📺", "🍕", "✅", "🐶", "🐱"}
|
||||||
}}).Parse(commonTemplates + content))
|
}}).Parse(commonTemplates + content))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue