1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2024-09-23 02:49:40 +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
rm -f map_gen.go
go generate

View file

@ -22,6 +22,7 @@ preserved, and that any substantive changes or deletions from the original are
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 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/)
## Abstract
@ -60,4 +61,5 @@ In example, a [SHA1](https://en.wikipedia.org/wiki/SHA-1) checksum is 40 hexadec
## References
* Unicode Technical Report #51 - http://www.unicode.org/reports/tr51/
* http://www.webpagefx.com/tools/emoji-cheat-sheet/

View file

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

View file

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