go-faker / faker

Go (Golang) Fake Data Generator for Struct, previously https://github.com/bxcodec/faker
https://pkg.go.dev/github.com/go-faker/faker/v4
MIT License
614 stars 30 forks source link

Combining stringy tags with length #21

Open marcust opened 1 year ago

marcust commented 1 year ago

I would like to do faker:"sentence,len=40", but a quick glance in the code shows me that this not so easy, as the way these tags are handled is completely different. Is this something you would consider? I basically use faker to generate readable test data, but I am also bound by other constraints, so I need them with a certain length.