random accepts generator

This commit is contained in:
Bel LaPointe
2023-03-02 09:31:40 -07:00
parent 7202fef15d
commit fe16e2325c
3 changed files with 13 additions and 8 deletions

View File

@@ -5,5 +5,5 @@ type Input interface {
}
func New() Input {
return NewRandom('a', 'g')
return NewRandom(RandomCharFromRange('a', 'g'))
}