Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistinctWords ¶
Types ¶
type UniqueUniverse ¶
type UniqueUniverse[T comparable] struct { //Max is the total number of attempts to make for each Next Max int Generate func() T // contains filtered or unexported fields }
func NewUniqueWords ¶
func NewUniqueWords() *UniqueUniverse[string]
func (*UniqueUniverse[T]) Next ¶
func (u *UniqueUniverse[T]) Next() T
Click to show internal directories.
Click to hide internal directories.