Skip to content

Commit 590d0e9

Browse files
committed
bump to v0.0.16
Signed-off-by: Daniel Stamer <[email protected]>
1 parent 3b10a2b commit 590d0e9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/helloworlddan/tortune
22

3-
go 1.19
3+
go 1.22

tortune/tortune.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ package tortune
22

33
import (
44
"math/rand"
5-
"time"
65
)
76

8-
const Version = "0.0.15"
7+
const Version = "0.0.16"
98

109
var (
1110
db = [...]string{
@@ -76,11 +75,10 @@ var (
7675
"Halloween and Christmas are so confusing, because 31 OCT == 25 DEC.",
7776
"UDP bar is packet going into a",
7877
"Hi. I'd like to hear a TCP joke.\nHello, would you like to hear a TCP joke?\nYes, I would like to hear a TCP joke.\nOK, I will tell you a TCP joke.\nOk, I will hear a TCP joke.\nAre you ready to hear a TCP joke?\nYes. I am ready to hear a TCP joke.\nOk, I am about to send the TCP joke. It will last 10 seconds, it has two characters, it does not have a setting, it ends with a punchline.\nOk, I am ready to receive your TCP joke that will last 10 seconds, has two...\nI'm sorry, your connection has timed out.\nHi, I would like to hear a TCP joke?",
78+
"Golden Orb-Weaving Spiders live in the biggest rainforest in Brazil and weave golden orbs. They therefore provide Amazon Web Services.",
7979
}
8080
)
8181

8282
func HitMe() string {
83-
rand.Seed(time.Now().Unix())
84-
8583
return db[rand.Intn(len(db))]
8684
}

0 commit comments

Comments
 (0)