faking

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistinctWords

func DistinctWords(count int) []string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL