summaryrefslogtreecommitdiff
path: root/theo.go
diff options
context:
space:
mode:
Diffstat (limited to 'theo.go')
-rw-r--r--theo.go17
1 files changed, 3 insertions, 14 deletions
diff --git a/theo.go b/theo.go
index 09325da..6911dc8 100644
--- a/theo.go
+++ b/theo.go
@@ -1,15 +1,10 @@
// $OpenBSD: theo.c,v 1.143 2014/11/19 21:22:47 schwarze Exp $
// Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
-// Package theo implements random quotes from Theo De Raadt
-package theo
-
+// Package theo holds random quotes from Theo De Raadt
+//
// source: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mg/theo.c
-
-import (
- "math/rand"
- "time"
-)
+package theo
// Quotes from Theo
var Quotes = []string{
@@ -127,9 +122,3 @@ var Quotes = []string{
`Well finally everyone can see that the shit is really shitty.`,
`All that complexity stopped us from getting flying cars by today.`,
}
-
-// Random quote
-func Random() string {
- rand.Seed(time.Now().UnixNano())
- return Quotes[rand.Intn(len(Quotes))]
-}