1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2025-01-08 12:47:08 +00:00

emoji: provide options for each position

Per https://github.com/vbatts/emojisum/issues/5 there are some options
in this list that are better expressed as a unicode codepoint.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-02-07 10:17:50 -05:00
parent aa14e6436d
commit 62919c069f
Signed by: vbatts
GPG key ID: 10937E57733F1362
6 changed files with 783 additions and 517 deletions

View file

@ -1,5 +1,7 @@
.PHONY: map_gen.go
map_gen.go: map.go emojimap.json map_gen.tmpl map_gen.go: map.go emojimap.json map_gen.tmpl
rm -f map_gen.go
go generate go generate

View file

@ -22,6 +22,7 @@ preserved, and that any substantive changes or deletions from the original are
clearly marked. clearly marked.
A pointer to the latest version of the canonical JSON is the URL: [http://emoji.thisco.de/draft/emojimap.json](http://emoji.thisco.de/draft/emojimap.json) A pointer to the latest version of the canonical JSON is the URL: [http://emoji.thisco.de/draft/emojimap.json](http://emoji.thisco.de/draft/emojimap.json)
A pointer to the latest version of this spec the URL: [http://emoji.thisco.de/draft/](http://emoji.thisco.de/draft/)
Related documentation in can be found at the URL: [http://emoji.thisco.de/](http://emoji.thisco.de/) Related documentation in can be found at the URL: [http://emoji.thisco.de/](http://emoji.thisco.de/)
## Abstract ## Abstract
@ -60,4 +61,5 @@ In example, a [SHA1](https://en.wikipedia.org/wiki/SHA-1) checksum is 40 hexadec
## References ## References
* Unicode Technical Report #51 - http://www.unicode.org/reports/tr51/
* http://www.webpagefx.com/tools/emoji-cheat-sheet/ * http://www.webpagefx.com/tools/emoji-cheat-sheet/

View file

@ -2,261 +2,261 @@
"version": "draft+1", "version": "draft+1",
"description": "This ordered list of emojiwords is the conventional order for the practice of conveying checksums with emoji. Each position provides the alternative for resolving the desired emoji.", "description": "This ordered list of emojiwords is the conventional order for the practice of conveying checksums with emoji. Each position provides the alternative for resolving the desired emoji.",
"emojiwords": [ "emojiwords": [
":+1:", [":+1:"],
":8ball:", [":8ball:"],
":airplane:", [":airplane:"],
":alien:", [":alien:"],
":anchor:", [":anchor:"],
":angel:", [":angel:"],
":angry:", [":angry:"],
":ant:", [":ant:"],
":apple:", [":apple:"],
":art:", [":art:"],
":baby:", [":baby:"],
":baby_bottle:", [":baby_bottle:"],
":back:", [":back:"],
":bamboo:", [":bamboo:"],
":banana:", [":banana:"],
":barber:", [":barber:"],
":bathtub:", [":bathtub:"],
":beer:", [":beer:"],
":bell:", [":bell:"],
":bicyclist:", [":bicyclist:"],
":bird:", [":bird:"],
":birthday:", [":birthday:"],
":blossom:", [":blossom:"],
":blue_car:", [":blue_car:"],
":boar:", [":boar:"],
":bomb:", [":bomb:"],
":boom:", [":boom:"],
":bow:", [":bow:"],
":boy:", [":boy:"],
":broken_heart:", [":broken_heart:"],
":bulb:", [":bulb:"],
":bus:", [":bus:"],
":cactus:", [":cactus:"],
":calendar:", [":calendar:"],
":camera:", [":camera:"],
":candy:", [":candy:"],
":cat:", [":cat:"],
":cherries:", [":cherries:"],
":children_crossing:", [":children_crossing:"],
":chocolate_bar:", [":chocolate_bar:"],
":clap:", [":clap:"],
":cloud:", [":cloud:"],
":clubs:", [":clubs:"],
":cn:", [":cn:"],
":coffee:", [":coffee:"],
":construction:", [":construction:"],
":cookie:", [":cookie:"],
":copyright:", [":copyright:"],
":corn:", [":corn:"],
":cow:", [":cow:"],
":crescent_moon:", [":crescent_moon:"],
":crown:", [":crown:"],
":cry:", [":cry:"],
":crystal_ball:", [":crystal_ball:"],
":curly_loop:", [":curly_loop:"],
":dancers:", [":dancers:"],
":dash:", [":dash:"],
":de:", [":de:"],
":diamonds:", [":diamonds:"],
":dog:", [":dog:"],
":doughnut:", [":doughnut:"],
":dragon:", [":dragon:"],
":dvd:", [":dvd:"],
":ear:", [":ear:"],
":eggplant:", [":eggplant:"],
":elephant:", [":elephant:"],
":end:", [":end:"],
":envelope:", [":envelope:"],
":es:", [":es:"],
":eyes:", [":eyes:"],
":facepunch:", [":facepunch:"],
":family:", [":family:"],
":ferris_wheel:", [":ferris_wheel:"],
":finnadie:", [":finnadie:"],
":fire:", [":fire:"],
":fireworks:", [":fireworks:"],
":floppy_disk:", [":floppy_disk:"],
":football:", [":football:"],
":fork_and_knife:", [":fork_and_knife:"],
":four_leaf_clover:", [":four_leaf_clover:"],
":fr:", [":fr:"],
":fries:", [":fries:"],
":frog:", [":frog:"],
":fu:", [":fu:"],
":full_moon:", [":full_moon:"],
":game_die:", [":game_die:"],
":eu:", [":eu:"],
":gem:", [":gem:"],
":girl:", [":girl:"],
":goat:", [":goat:"],
":grimacing:", [":grimacing:"],
":grin:", [":grin:"],
":guardsman:", [":guardsman:"],
":guitar:", [":guitar:"],
":gun:", [":gun:"],
":hamburger:", [":hamburger:"],
":hammer:", [":hammer:"],
":hamster:", [":hamster:"],
":hear_no_evil:", [":hear_no_evil:"],
":heart:", [":heart:"],
":heart_eyes_cat:", [":heart_eyes_cat:"],
":hearts:", [":hearts:"],
":heavy_check_mark:", [":heavy_check_mark:"],
":moyai:", [":moyai:"],
":izakaya_lantern:", [":izakaya_lantern:"],
":helicopter:", [":helicopter:"],
":hocho:", [":hocho:"],
":honeybee:", [":honeybee:"],
":horse:", [":horse:"],
":horse_racing:", [":horse_racing:"],
":hourglass:", [":hourglass:"],
":house:", [":house:"],
":hurtrealbad:", [":hurtrealbad:"],
":icecream:", [":icecream:"],
":imp:", [":imp:"],
":it:", [":it:"],
":jack_o_lantern:", [":jack_o_lantern:"],
":japanese_goblin:", [":japanese_goblin:"],
":jp:", [":jp:"],
":key:", [":key:"],
":kiss:", [":kiss:"],
":kissing_cat:", [":kissing_cat:"],
":koala:", [":koala:"],
":kr:", [":kr:"],
":lemon:", [":lemon:"],
":lipstick:", [":lipstick:"],
":lock:", [":lock:"],
":lollipop:", [":lollipop:"],
":man:", [":man:"],
":maple_leaf:", [":maple_leaf:"],
":mask:", [":mask:"],
":metal:", [":metal:"],
":microscope:", [":microscope:"],
":moneybag:", [":moneybag:"],
":monkey:", [":monkey:"],
":mount_fuji:", [":mount_fuji:"],
":muscle:", [":muscle:"],
":mushroom:", [":mushroom:"],
":musical_keyboard:", [":musical_keyboard:"],
":musical_score:", [":musical_score:"],
":nail_care:", [":nail_care:"],
":new_moon:", [":new_moon:"],
":no_entry:", [":no_entry:"],
":nose:", [":nose:"],
":notes:", [":notes:"],
":nut_and_bolt:", [":nut_and_bolt:"],
":o:", [":o:"],
":ocean:", [":ocean:"],
":ok_hand:", [":ok_hand:"],
":on:", [":on:"],
":package:", [":package:"],
":palm_tree:", [":palm_tree:"],
":panda_face:", [":panda_face:"],
":paperclip:", [":paperclip:"],
":partly_sunny:", [":partly_sunny:"],
":passport_control:", [":passport_control:"],
":paw_prints:", [":paw_prints:"],
":peach:", [":peach:"],
":penguin:", [":penguin:"],
":phone:", [":phone:"],
":pig:", [":pig:"],
":pill:", [":pill:"],
":pineapple:", [":pineapple:"],
":pizza:", [":pizza:"],
":point_left:", [":point_left:"],
":point_right:", [":point_right:"],
":poop:", [":poop:"],
":poultry_leg:", [":poultry_leg:"],
":pray:", [":pray:"],
":princess:", [":princess:"],
":purse:", [":purse:"],
":pushpin:", [":pushpin:"],
":rabbit:", [":rabbit:"],
":rainbow:", [":rainbow:"],
":raised_hand:", [":raised_hand:"],
":recycle:", [":recycle:"],
":red_car:", [":red_car:"],
":registered:", [":registered:"],
":ribbon:", [":ribbon:"],
":rice:", [":rice:"],
":rocket:", [":rocket:"],
":roller_coaster:", [":roller_coaster:"],
":rooster:", [":rooster:"],
":ru:", [":ru:"],
":sailboat:", [":sailboat:"],
":santa:", [":santa:"],
":satellite:", [":satellite:"],
":satisfied:", [":satisfied:"],
":saxophone:", [":saxophone:"],
":scissors:", [":scissors:"],
":see_no_evil:", [":see_no_evil:"],
":sheep:", [":sheep:"],
":shell:", [":shell:"],
":shoe:", [":shoe:"],
":ski:", [":ski:"],
":skull:", [":skull:"],
":sleepy:", [":sleepy:"],
":smile:", [":smile:"],
":smiley_cat:", [":smiley_cat:"],
":smirk:", [":smirk:"],
":smoking:", [":smoking:"],
":snail:", [":snail:"],
":snake:", [":snake:"],
":snowflake:", [":snowflake:"],
":soccer:", [":soccer:"],
":soon:", [":soon:"],
":space_invader:", [":space_invader:"],
":spades:", [":spades:"],
":speak_no_evil:", [":speak_no_evil:"],
":star:", [":star:"],
":stars:", [":stars:"],
":statue_of_liberty:", [":statue_of_liberty:"],
":steam_locomotive:", [":steam_locomotive:"],
":sunflower:", [":sunflower:"],
":sunglasses:", [":sunglasses:"],
":sunny:", [":sunny:"],
":sunrise:", [":sunrise:"],
":surfer:", [":surfer:"],
":swimmer:", [":swimmer:"],
":syringe:", [":syringe:"],
":tada:", [":tada:"],
":tangerine:", [":tangerine:"],
":taxi:", [":taxi:"],
":tennis:", [":tennis:"],
":tent:", [":tent:"],
":thought_balloon:", [":thought_balloon:"],
":tm:", [":tm:"],
":toilet:", [":toilet:"],
":tongue:", [":tongue:"],
":tophat:", [":tophat:"],
":tractor:", [":tractor:"],
":trolleybus:", [":trolleybus:"],
":trollface:", [":trollface:"],
":trophy:", [":trophy:"],
":trumpet:", [":trumpet:"],
":turtle:", [":turtle:"],
":two_men_holding_hands:", [":two_men_holding_hands:"],
":two_women_holding_hands:", [":two_women_holding_hands:"],
":uk:", [":uk:"],
":umbrella:", [":umbrella:"],
":unlock:", [":unlock:"],
":us:", [":us:"],
":v:", [":v:"],
":vhs:", [":vhs:"],
":violin:", [":violin:"],
":warning:", [":warning:"],
":watermelon:", [":watermelon:"],
":wave:", [":wave:"],
":wavy_dash:", [":wavy_dash:"],
":wc:", [":wc:"],
":wheelchair:", [":wheelchair:"],
":woman:", [":woman:"],
":x:", [":x:"],
":yum:", [":yum:"],
":zap:", [":zap:"],
":zzz:" [":zzz:"]
] ]
} }

View file

@ -4,7 +4,7 @@ package emoji
// Map returns the emoji at the provided position. // Map returns the emoji at the provided position.
// This list is from 0-255 // This list is from 0-255
func Map(b byte) string { func Map(b byte) Words {
return mapGen.EmojiWords[int(b)] return mapGen.EmojiWords[int(b)]
} }
@ -21,5 +21,9 @@ type VersionedMap struct {
Description string `json:"description"` Description string `json:"description"`
Version string `json:"version"` Version string `json:"version"`
// these are an ordered list, referened by a byte (each byte of a checksum digest) // these are an ordered list, referened by a byte (each byte of a checksum digest)
EmojiWords []string `json:"emojiwords"` EmojiWords []Words `json:"emojiwords"`
} }
// Words are a set of options to represent an emoji.
// Possible options could be the ":colon_notion:" or a "U+26CF" style codepoint.
type Words []string

View file

@ -6,263 +6,519 @@ func init() {
mapGen = VersionedMap{ mapGen = VersionedMap{
Description: "This ordered list of emojiwords is the conventional order for the practice of conveying checksums with emoji. Each position provides the alternative for resolving the desired emoji.", Description: "This ordered list of emojiwords is the conventional order for the practice of conveying checksums with emoji. Each position provides the alternative for resolving the desired emoji.",
Version: "draft+1", Version: "draft+1",
EmojiWords: []string{ EmojiWords: []Words{
":+1:", Words{ ":+1:",
":8ball:", },
":airplane:", Words{ ":8ball:",
":alien:", },
":anchor:", Words{ ":airplane:",
":angel:", },
":angry:", Words{ ":alien:",
":ant:", },
":apple:", Words{ ":anchor:",
":art:", },
":baby:", Words{ ":angel:",
":baby_bottle:", },
":back:", Words{ ":angry:",
":bamboo:", },
":banana:", Words{ ":ant:",
":barber:", },
":bathtub:", Words{ ":apple:",
":beer:", },
":bell:", Words{ ":art:",
":bicyclist:", },
":bird:", Words{ ":baby:",
":birthday:", },
":blossom:", Words{ ":baby_bottle:",
":blue_car:", },
":boar:", Words{ ":back:",
":bomb:", },
":boom:", Words{ ":bamboo:",
":bow:", },
":boy:", Words{ ":banana:",
":broken_heart:", },
":bulb:", Words{ ":barber:",
":bus:", },
":cactus:", Words{ ":bathtub:",
":calendar:", },
":camera:", Words{ ":beer:",
":candy:", },
":cat:", Words{ ":bell:",
":cherries:", },
":children_crossing:", Words{ ":bicyclist:",
":chocolate_bar:", },
":clap:", Words{ ":bird:",
":cloud:", },
":clubs:", Words{ ":birthday:",
":cn:", },
":coffee:", Words{ ":blossom:",
":construction:", },
":cookie:", Words{ ":blue_car:",
":copyright:", },
":corn:", Words{ ":boar:",
":cow:", },
":crescent_moon:", Words{ ":bomb:",
":crown:", },
":cry:", Words{ ":boom:",
":crystal_ball:", },
":curly_loop:", Words{ ":bow:",
":dancers:", },
":dash:", Words{ ":boy:",
":de:", },
":diamonds:", Words{ ":broken_heart:",
":dog:", },
":doughnut:", Words{ ":bulb:",
":dragon:", },
":dvd:", Words{ ":bus:",
":ear:", },
":eggplant:", Words{ ":cactus:",
":elephant:", },
":end:", Words{ ":calendar:",
":envelope:", },
":es:", Words{ ":camera:",
":eyes:", },
":facepunch:", Words{ ":candy:",
":family:", },
":ferris_wheel:", Words{ ":cat:",
":finnadie:", },
":fire:", Words{ ":cherries:",
":fireworks:", },
":floppy_disk:", Words{ ":children_crossing:",
":football:", },
":fork_and_knife:", Words{ ":chocolate_bar:",
":four_leaf_clover:", },
":fr:", Words{ ":clap:",
":fries:", },
":frog:", Words{ ":cloud:",
":fu:", },
":full_moon:", Words{ ":clubs:",
":game_die:", },
":eu:", Words{ ":cn:",
":gem:", },
":girl:", Words{ ":coffee:",
":goat:", },
":grimacing:", Words{ ":construction:",
":grin:", },
":guardsman:", Words{ ":cookie:",
":guitar:", },
":gun:", Words{ ":copyright:",
":hamburger:", },
":hammer:", Words{ ":corn:",
":hamster:", },
":hear_no_evil:", Words{ ":cow:",
":heart:", },
":heart_eyes_cat:", Words{ ":crescent_moon:",
":hearts:", },
":heavy_check_mark:", Words{ ":crown:",
":moyai:", },
":izakaya_lantern:", Words{ ":cry:",
":helicopter:", },
":hocho:", Words{ ":crystal_ball:",
":honeybee:", },
":horse:", Words{ ":curly_loop:",
":horse_racing:", },
":hourglass:", Words{ ":dancers:",
":house:", },
":hurtrealbad:", Words{ ":dash:",
":icecream:", },
":imp:", Words{ ":de:",
":it:", },
":jack_o_lantern:", Words{ ":diamonds:",
":japanese_goblin:", },
":jp:", Words{ ":dog:",
":key:", },
":kiss:", Words{ ":doughnut:",
":kissing_cat:", },
":koala:", Words{ ":dragon:",
":kr:", },
":lemon:", Words{ ":dvd:",
":lipstick:", },
":lock:", Words{ ":ear:",
":lollipop:", },
":man:", Words{ ":eggplant:",
":maple_leaf:", },
":mask:", Words{ ":elephant:",
":metal:", },
":microscope:", Words{ ":end:",
":moneybag:", },
":monkey:", Words{ ":envelope:",
":mount_fuji:", },
":muscle:", Words{ ":es:",
":mushroom:", },
":musical_keyboard:", Words{ ":eyes:",
":musical_score:", },
":nail_care:", Words{ ":facepunch:",
":new_moon:", },
":no_entry:", Words{ ":family:",
":nose:", },
":notes:", Words{ ":ferris_wheel:",
":nut_and_bolt:", },
":o:", Words{ ":finnadie:",
":ocean:", },
":ok_hand:", Words{ ":fire:",
":on:", },
":package:", Words{ ":fireworks:",
":palm_tree:", },
":panda_face:", Words{ ":floppy_disk:",
":paperclip:", },
":partly_sunny:", Words{ ":football:",
":passport_control:", },
":paw_prints:", Words{ ":fork_and_knife:",
":peach:", },
":penguin:", Words{ ":four_leaf_clover:",
":phone:", },
":pig:", Words{ ":fr:",
":pill:", },
":pineapple:", Words{ ":fries:",
":pizza:", },
":point_left:", Words{ ":frog:",
":point_right:", },
":poop:", Words{ ":fu:",
":poultry_leg:", },
":pray:", Words{ ":full_moon:",
":princess:", },
":purse:", Words{ ":game_die:",
":pushpin:", },
":rabbit:", Words{ ":eu:",
":rainbow:", },
":raised_hand:", Words{ ":gem:",
":recycle:", },
":red_car:", Words{ ":girl:",
":registered:", },
":ribbon:", Words{ ":goat:",
":rice:", },
":rocket:", Words{ ":grimacing:",
":roller_coaster:", },
":rooster:", Words{ ":grin:",
":ru:", },
":sailboat:", Words{ ":guardsman:",
":santa:", },
":satellite:", Words{ ":guitar:",
":satisfied:", },
":saxophone:", Words{ ":gun:",
":scissors:", },
":see_no_evil:", Words{ ":hamburger:",
":sheep:", },
":shell:", Words{ ":hammer:",
":shoe:", },
":ski:", Words{ ":hamster:",
":skull:", },
":sleepy:", Words{ ":hear_no_evil:",
":smile:", },
":smiley_cat:", Words{ ":heart:",
":smirk:", },
":smoking:", Words{ ":heart_eyes_cat:",
":snail:", },
":snake:", Words{ ":hearts:",
":snowflake:", },
":soccer:", Words{ ":heavy_check_mark:",
":soon:", },
":space_invader:", Words{ ":moyai:",
":spades:", },
":speak_no_evil:", Words{ ":izakaya_lantern:",
":star:", },
":stars:", Words{ ":helicopter:",
":statue_of_liberty:", },
":steam_locomotive:", Words{ ":hocho:",
":sunflower:", },
":sunglasses:", Words{ ":honeybee:",
":sunny:", },
":sunrise:", Words{ ":horse:",
":surfer:", },
":swimmer:", Words{ ":horse_racing:",
":syringe:", },
":tada:", Words{ ":hourglass:",
":tangerine:", },
":taxi:", Words{ ":house:",
":tennis:", },
":tent:", Words{ ":hurtrealbad:",
":thought_balloon:", },
":tm:", Words{ ":icecream:",
":toilet:", },
":tongue:", Words{ ":imp:",
":tophat:", },
":tractor:", Words{ ":it:",
":trolleybus:", },
":trollface:", Words{ ":jack_o_lantern:",
":trophy:", },
":trumpet:", Words{ ":japanese_goblin:",
":turtle:", },
":two_men_holding_hands:", Words{ ":jp:",
":two_women_holding_hands:", },
":uk:", Words{ ":key:",
":umbrella:", },
":unlock:", Words{ ":kiss:",
":us:", },
":v:", Words{ ":kissing_cat:",
":vhs:", },
":violin:", Words{ ":koala:",
":warning:", },
":watermelon:", Words{ ":kr:",
":wave:", },
":wavy_dash:", Words{ ":lemon:",
":wc:", },
":wheelchair:", Words{ ":lipstick:",
":woman:", },
":x:", Words{ ":lock:",
":yum:", },
":zap:", Words{ ":lollipop:",
":zzz:", },
Words{ ":man:",
},
Words{ ":maple_leaf:",
},
Words{ ":mask:",
},
Words{ ":metal:",
},
Words{ ":microscope:",
},
Words{ ":moneybag:",
},
Words{ ":monkey:",
},
Words{ ":mount_fuji:",
},
Words{ ":muscle:",
},
Words{ ":mushroom:",
},
Words{ ":musical_keyboard:",
},
Words{ ":musical_score:",
},
Words{ ":nail_care:",
},
Words{ ":new_moon:",
},
Words{ ":no_entry:",
},
Words{ ":nose:",
},
Words{ ":notes:",
},
Words{ ":nut_and_bolt:",
},
Words{ ":o:",
},
Words{ ":ocean:",
},
Words{ ":ok_hand:",
},
Words{ ":on:",
},
Words{ ":package:",
},
Words{ ":palm_tree:",
},
Words{ ":panda_face:",
},
Words{ ":paperclip:",
},
Words{ ":partly_sunny:",
},
Words{ ":passport_control:",
},
Words{ ":paw_prints:",
},
Words{ ":peach:",
},
Words{ ":penguin:",
},
Words{ ":phone:",
},
Words{ ":pig:",
},
Words{ ":pill:",
},
Words{ ":pineapple:",
},
Words{ ":pizza:",
},
Words{ ":point_left:",
},
Words{ ":point_right:",
},
Words{ ":poop:",
},
Words{ ":poultry_leg:",
},
Words{ ":pray:",
},
Words{ ":princess:",
},
Words{ ":purse:",
},
Words{ ":pushpin:",
},
Words{ ":rabbit:",
},
Words{ ":rainbow:",
},
Words{ ":raised_hand:",
},
Words{ ":recycle:",
},
Words{ ":red_car:",
},
Words{ ":registered:",
},
Words{ ":ribbon:",
},
Words{ ":rice:",
},
Words{ ":rocket:",
},
Words{ ":roller_coaster:",
},
Words{ ":rooster:",
},
Words{ ":ru:",
},
Words{ ":sailboat:",
},
Words{ ":santa:",
},
Words{ ":satellite:",
},
Words{ ":satisfied:",
},
Words{ ":saxophone:",
},
Words{ ":scissors:",
},
Words{ ":see_no_evil:",
},
Words{ ":sheep:",
},
Words{ ":shell:",
},
Words{ ":shoe:",
},
Words{ ":ski:",
},
Words{ ":skull:",
},
Words{ ":sleepy:",
},
Words{ ":smile:",
},
Words{ ":smiley_cat:",
},
Words{ ":smirk:",
},
Words{ ":smoking:",
},
Words{ ":snail:",
},
Words{ ":snake:",
},
Words{ ":snowflake:",
},
Words{ ":soccer:",
},
Words{ ":soon:",
},
Words{ ":space_invader:",
},
Words{ ":spades:",
},
Words{ ":speak_no_evil:",
},
Words{ ":star:",
},
Words{ ":stars:",
},
Words{ ":statue_of_liberty:",
},
Words{ ":steam_locomotive:",
},
Words{ ":sunflower:",
},
Words{ ":sunglasses:",
},
Words{ ":sunny:",
},
Words{ ":sunrise:",
},
Words{ ":surfer:",
},
Words{ ":swimmer:",
},
Words{ ":syringe:",
},
Words{ ":tada:",
},
Words{ ":tangerine:",
},
Words{ ":taxi:",
},
Words{ ":tennis:",
},
Words{ ":tent:",
},
Words{ ":thought_balloon:",
},
Words{ ":tm:",
},
Words{ ":toilet:",
},
Words{ ":tongue:",
},
Words{ ":tophat:",
},
Words{ ":tractor:",
},
Words{ ":trolleybus:",
},
Words{ ":trollface:",
},
Words{ ":trophy:",
},
Words{ ":trumpet:",
},
Words{ ":turtle:",
},
Words{ ":two_men_holding_hands:",
},
Words{ ":two_women_holding_hands:",
},
Words{ ":uk:",
},
Words{ ":umbrella:",
},
Words{ ":unlock:",
},
Words{ ":us:",
},
Words{ ":v:",
},
Words{ ":vhs:",
},
Words{ ":violin:",
},
Words{ ":warning:",
},
Words{ ":watermelon:",
},
Words{ ":wave:",
},
Words{ ":wavy_dash:",
},
Words{ ":wc:",
},
Words{ ":wheelchair:",
},
Words{ ":woman:",
},
Words{ ":x:",
},
Words{ ":yum:",
},
Words{ ":zap:",
},
Words{ ":zzz:",
},
}, },
} }
} }

View file

@ -6,8 +6,10 @@ func init() {
mapGen = VersionedMap{ mapGen = VersionedMap{
Description: "{{.Description}}", Description: "{{.Description}}",
Version: "{{.Version}}", Version: "{{.Version}}",
EmojiWords: []string{ {{- range .EmojiWords }} EmojiWords: []Words{ {{- range .EmojiWords }}
"{{.}}",{{- end }} Words{ {{ range . -}}
"{{- . }}",{{- end }}
},{{- end }}
}, },
} }
} }