mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
all: Remove unused code
Using x/tools/cmd/deadcode
This commit is contained in:
@@ -30,12 +30,6 @@ var (
|
||||
emojiMaxSize int
|
||||
)
|
||||
|
||||
// Emoji returns the emoji given a key, e.g. ":smile:", nil if not found.
|
||||
func Emoji(key string) []byte {
|
||||
emojiInit.Do(initEmoji)
|
||||
return emojis[key]
|
||||
}
|
||||
|
||||
// Emojify "emojifies" the input source.
|
||||
// Note that the input byte slice will be modified if needed.
|
||||
// See http://www.emoji-cheat-sheet.com/
|
||||
|
Reference in New Issue
Block a user