jaswdr / faker

:rocket: Ultimate fake data generator for Go with zero dependencies
https://pkg.go.dev/github.com/jaswdr/faker
MIT License
549 stars 59 forks source link

feat: added RandomStringWithLength #82

Closed xlanor closed 2 years ago

xlanor commented 2 years ago

Description

I added a calling function to generate a random string of a certain length.

Are you trying to fix an existing issue?

81

Go Version

abc@c63bccef3747:~/workspace/oss/faker$ go version
go version go1.17.3 linux/amd64

Go Tests

abc@c63bccef3747:~/workspace/oss/faker$ go test
2022/01/24 00:14:32 Transport: unhandled response frame type *http.http2UnknownFrame
PASS
ok      github.com/jaswdr/faker 53.795s

(The warning should be from another test that is unrelated to this added functionality)

jaswdr commented 2 years ago

LGTM, thank you very much for your contribution 😄