Dato un set di caratteri generare una password in output di 8 caratteri
- Check whether there are extra arguments provided to the Go run command
- If that's the case, check that there is only one extra argument
- Create an array that holds all the available characters to craft the password
- Craft a password with the available characters
- Print the just-created password on the terminal
- If u want to use a custom set of characters pass them as an argument. EXAMPLE: ./passgen abcdefgh
- If u didn't pass additional arguments the program will return an 8-character long password using the default set of characters:
abcdefgh