summaryrefslogtreecommitdiff
path: root/extra/twentyq.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-05-01 07:08:03 +0300
committerGrail Finder <wohilas@gmail.com>2025-05-01 07:08:03 +0300
commit10cca9037fac14fff966dd1fd6e9de86893d3981 (patch)
treec1a6ad9815bc6acf70dd9c047763bef8f3377674 /extra/twentyq.go
parentd2e48468350ff315ca54663dbe2783c6e6eddcb2 (diff)
Fix: tool description
Diffstat (limited to 'extra/twentyq.go')
-rw-r--r--extra/twentyq.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/twentyq.go b/extra/twentyq.go
new file mode 100644
index 0000000..30c08cc
--- /dev/null
+++ b/extra/twentyq.go
@@ -0,0 +1,11 @@
+package extra
+
+import "math/rand"
+
+var (
+ chars = []string{"Shrek", "Garfield", "Jack the Ripper"}
+)
+
+func GetRandomChar() string {
+ return chars[rand.Intn(len(chars))]
+}