summaryrefslogtreecommitdiff
path: root/theo.go
diff options
context:
space:
mode:
Diffstat (limited to 'theo.go')
-rw-r--r--theo.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/theo.go b/theo.go
index 6b455d0..09325da 100644
--- a/theo.go
+++ b/theo.go
@@ -11,8 +11,8 @@ import (
"time"
)
-// Talk contains known quotes
-var Talk = []string{
+// Quotes from Theo
+var Quotes = []string{
`Write more code.`,
`Make more commits.`,
`That's because you have been slacking.`,
@@ -131,10 +131,5 @@ var Talk = []string{
// Random quote
func Random() string {
rand.Seed(time.Now().UnixNano())
- return Talk[rand.Intn(len(Talk))]
-}
-
-// Quote for backward compatibility, use Random instead
-func Quote() string {
- return Random()
+ return Quotes[rand.Intn(len(Quotes))]
}