Compare commits

..

1 Commits

Author SHA1 Message Date
a81bebfaf8 More flexible letter/symbol/nunmber combinations. 2019-10-01 18:01:55 -04:00

View File

@ -54,7 +54,7 @@ func Char() (byte,error) {
return gen(chars) return gen(chars)
} }
func Slice(Generator, n int) ([]byte,error) { func Slice(f Generator, n int) ([]byte,error) {
ret := make([]byte,0) ret := make([]byte,0)
for i := 0; i < n; i++ { for i := 0; i < n; i++ {
x,err := f() x,err := f()