forked from Mirrors/bubbletea
Remove unused func from send-msg example
‘randomEmoji()’ is redundant
This commit is contained in:
parent
d266bc1616
commit
4ac566c1f7
|
@ -128,11 +128,6 @@ func main() {
|
||||||
<-done
|
<-done
|
||||||
}
|
}
|
||||||
|
|
||||||
func randomEmoji() string {
|
|
||||||
emojis := []rune("🍦🧋🍡🤠👾😭🦊🐯🦆🥨🎏🍔🍒🍥🎮📦🦁🐶🐸🍕🥐🧲🚒🥇🏆🌽")
|
|
||||||
return string(emojis[rand.Intn(len(emojis))])
|
|
||||||
}
|
|
||||||
|
|
||||||
func randomFood() string {
|
func randomFood() string {
|
||||||
food := []string{"an apple", "a pear", "a gherkin", "a party gherkin",
|
food := []string{"an apple", "a pear", "a gherkin", "a party gherkin",
|
||||||
"a kohlrabi", "some spaghetti", "tacos", "a currywurst", "some curry",
|
"a kohlrabi", "some spaghetti", "tacos", "a currywurst", "some curry",
|
||||||
|
|
Loading…
Reference in New Issue