Skip to content

Instantly share code, notes, and snippets.

@underr
Last active August 29, 2015 14:20
Show Gist options
  • Save underr/b839ee964bf5aa537914 to your computer and use it in GitHub Desktop.
Save underr/b839ee964bf5aa537914 to your computer and use it in GitHub Desktop.
verdade-chan
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
palavras := [12]string{
"sim",
"não",
"mas é claro que sim",
"nope.avi",
"nein",
"yep",
"talvez",
"wakarimasen lol",
"ja",
"[no]",
"hai",
"nai",
}
rand.Seed(time.Now().UTC().UnixNano())
verdade := rand.Intn(12)
fmt.Println(palavras[verdade])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment