mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 04:49:39 +00:00
15 lines
284 B
Go
15 lines
284 B
Go
package rig
|
|
|
|
import (
|
|
"fmt"
|
|
"math/rand"
|
|
)
|
|
|
|
func GenerateRandomInboxName() string {
|
|
animal := animals[rand.Intn(len(animals))]
|
|
color := colors[rand.Intn(len(colors))]
|
|
adjective := adjectives[rand.Intn(len(adjectives))]
|
|
|
|
return fmt.Sprintf("%s-%s-%s", adjective, color, animal)
|
|
}
|