1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2025-08-03 13:50:27 +00:00

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>
This commit is contained in:
Vincent Batts 2016-12-13 12:56:45 -05:00
parent a2456feb8f
commit 2332d1260c
Signed by: vbatts
GPG key ID: 10937E57733F1362
6 changed files with 583 additions and 266 deletions

9
emoji/map.go Normal file
View file

@ -0,0 +1,9 @@
//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)]
}