From c5b10e28b358308d8349b940af09f64368172f2e Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 8 Apr 2025 12:13:50 +0200 Subject: Remove relay package --- relay/session.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 relay/session.go (limited to 'relay/session.go') diff --git a/relay/session.go b/relay/session.go deleted file mode 100644 index a2bc50e..0000000 --- a/relay/session.go +++ /dev/null @@ -1,23 +0,0 @@ -package relay - -import ( - "math/rand" -) - -var adjectives = []string{ - "adamant", "adept", "adventurous", "arcadian", "auspicious", - "awesome", "blossoming", "brave", "charming", "chatty", - "circular", "considerate", "cubic", "curious", "delighted", -} - -var nouns = []string{ - "aardvark", "accordion", "apple", "apricot", "bee", - "brachiosaur", "cactus", "capsicum", "clarinet", "cowbell", - "crab", "cuckoo", "cymbal", "diplodocus", "donkey", -} - -func NewSession() string { - noun := nouns[rand.Intn(len(nouns))] - adjective := adjectives[rand.Intn(len(adjectives))] - return noun + "-" + adjective -} -- cgit v1.2.3-18-g5258