nthmail/pkg/rig/rig.go
2024-07-10 19:01:31 -03:00

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)
}