summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-22 13:32:36 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-09-22 13:32:36 +0200
commit7b5079f21e4d8a536c12474bce5ebc99c86cfe3e (patch)
tree4012716ecfda7b7a8a863b15b32d868b492c6670
parent46752dc61529152affa3746674048d5767793bdb (diff)
Rename Theo into Quote
-rw-r--r--theo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/theo.go b/theo.go
index 5e5658d..82f1a37 100644
--- a/theo.go
+++ b/theo.go
@@ -126,8 +126,8 @@ func init() {
rand.Seed(n)
}
-// Theo returns random quote
-func Theo() string {
+// Quote returns random quote
+func Quote() string {
n := rand.Intn(len(talk))
return talk[n]
}