Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions internal/names/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ package names

import (
"math/rand"
"time"
)

var loadedNames []string

func init() {
rand.Seed(time.Now().UnixNano())
}

// GenerateForIndex returns a random name from the pre-loaded list.
// It prefers names starting with 'A' for index 0, 'B' for index 1, etc.
func GenerateForIndex(index int) string {
Expand Down
Loading