mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
chore: use go 1.16 (#449)
* chore: use go 1.16 and gofmt accordingly * chore: also update examples and tuts to go 1.16
This commit is contained in:
@@ -125,8 +125,10 @@ func main() {
|
||||
}
|
||||
|
||||
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 sandwich", "some peanut butter", "some cashews", "some ramen"}
|
||||
"a sandwich", "some peanut butter", "some cashews", "some ramen",
|
||||
}
|
||||
return string(food[rand.Intn(len(food))])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user