diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-04-07 15:55:04 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-04-07 15:55:04 +0200 |
commit | d35c26ecc61103b4ba7d484acf76b6a969159518 (patch) | |
tree | b3dd927da75266f57311ab0ccf8dd6f4839e4c15 /relay/session.go | |
parent | 6d5824f7d2225bdb434becd4c5afa838aa2af440 (diff) |
Start new play
Diffstat (limited to 'relay/session.go')
-rw-r--r-- | relay/session.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/relay/session.go b/relay/session.go index 943c684..a2bc50e 100644 --- a/relay/session.go +++ b/relay/session.go @@ -16,7 +16,7 @@ var nouns = []string{ "crab", "cuckoo", "cymbal", "diplodocus", "donkey", } -func newSession() string { +func NewSession() string { noun := nouns[rand.Intn(len(nouns))] adjective := adjectives[rand.Intn(len(adjectives))] return noun + "-" + adjective |