1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2024-11-15 20:28:37 +00:00
emojisum/emoji/map.go
Vincent Batts 2332d1260c
emoji: make the list an independent doc
during this draft phase, the authoritative document for the ordering of
the emoji needs to be consumable by other languages and as a library.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-12-13 13:21:15 -05:00

9 lines
179 B
Go

//go:generate go run map_json.go
package emoji
// Map returns the emoji at the provided position.
// This list is from 0-255
func Map(b byte) string {
return sumList[int(b)]
}