friendly-words-go/pairs.go
techknowlogick 6b09d1d0de refactor
2023-04-12 23:46:05 -04:00

10 lines
205 B
Go

package words
func WordPairs() []string {
return WordPairsWithSize(sampleSize)
}
func WordPairsWithSize(size int) []string {
return pairs(randomSample(Predicates, size), randomSample(Objects, size))
}