11 var outQuote = "We've done the impossible, and that makes us mighty."
12 var errQuote = "Ah, curse your sudden but inevitable betrayal!"
14 var randomQuotes = []string{
15 "Can we maybe vote on the whole murdering people issue?",
16 "I swear by my pretty floral bonnet, I will end you.",
17 "My work's illegal, but at least it's honest.",
21 fmt.Fprintln(os.Stdout, outQuote)
22 fmt.Fprintln(os.Stderr, errQuote)
24 randomIndex := rand.New(rand.NewSource(time.Now().UnixNano())).Intn(len(randomQuotes))
26 time.Sleep(100 * time.Millisecond)
28 fmt.Fprintln(os.Stdout, randomQuotes[randomIndex])
30 if len(os.Args) == 2 {
31 exitCode, _ := strconv.Atoi(os.Args[1])