summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-10 18:59:08 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-10 18:59:08 +0200
commit46752dc61529152affa3746674048d5767793bdb (patch)
tree9224de338f69419df89a49be6181065e86e92c43
parente2458b52ea9c83a634a58a868f98e9db01612acd (diff)
Make lint happy
-rw-r--r--theo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/theo.go b/theo.go
index 376f5d7..5e5658d 100644
--- a/theo.go
+++ b/theo.go
@@ -1,6 +1,7 @@
// $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
import (
@@ -125,6 +126,7 @@ func init() {
rand.Seed(n)
}
+// Theo returns random quote
func Theo() string {
n := rand.Intn(len(talk))
return talk[n]