mirror of
https://github.com/emojisum/emojisum.git
synced 2024-11-15 20:28:37 +00:00
Vincent Batts
2332d1260c
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>
9 lines
179 B
Go
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)]
|
|
}
|