diff options
author | Grail Finder <wohilas@gmail.com> | 2025-05-01 07:08:03 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-05-01 07:08:03 +0300 |
commit | 10cca9037fac14fff966dd1fd6e9de86893d3981 (patch) | |
tree | c1a6ad9815bc6acf70dd9c047763bef8f3377674 /extra | |
parent | d2e48468350ff315ca54663dbe2783c6e6eddcb2 (diff) |
Fix: tool description
Diffstat (limited to 'extra')
-rw-r--r-- | extra/twentyq.go | 11 |
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))] +} |