MotoEvgenevich / go-pass-gen

Random Password Generator
0 stars 2 forks source link

refactor same funcs #1

Open brongineers opened 3 months ago

brongineers commented 3 months ago

I noticed several duplicate functions in your code, such as "lowerCaseGenerate," "digitsGenerate," and others.

These functions differ only in their min and max values.

I suggest creating a single function that accepts these values as parameters.

TevesManuel commented 3 months ago

I already made a PR, and I fixed it