Compare commits
1 Commits
a81bebfaf8
...
66bfa936ad
Author | SHA1 | Date | |
---|---|---|---|
66bfa936ad |
2
main.go
2
main.go
|
@ -54,7 +54,7 @@ func Char() (byte,error) {
|
||||||
return gen(chars)
|
return gen(chars)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Slice(f Generator, n int) ([]byte,error) {
|
func Slice(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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user