jaswdr / faker

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

[FEATURE] Variable name generator #142

Open AlekSi opened 1 year ago

AlekSi commented 1 year ago

Is your feature request related to a problem? Please describe.

It would be nice to have a function/method to generate a valid variable name in most programming languages: [_a-zA-Z][_a-zA-Z0-9]*.

Describe the solution you'd like

Any method to generate that value.

Describe alternatives you've considered

Find something like that in documentation (it wasn't easy, by the way). Do it my own code.