mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-12 17:02:56 +01:00
🔒 A "Automated Password Generator"-clone written in Go
Winni Neessen
704269d0b8
This commit primarily reorders the modes in the "mode_test.go" file for consistency. The order is now; ModeHumanReadable, ModeLowerCase, ModeNumber, ModeSpecial, ModeUpperCase. This now follows a logical order instead of the previous semi arbitrary one. The commit also involves the addition of a new test case 'TestModesFromFlags' in the "mode_test.go" file. This test case aims at increasing the code coverage and ensuring modes obtained from the flags are correct. Lastly, the 'ModesFromFlags' function in the "mode.go" has been slightly refactored for improved readability. This does not change the functionality and thus won't affect the rest of the codebase. |
||
---|---|---|
.github | ||
.idea | ||
cmd/apg | ||
.gitignore | ||
.golangci.toml | ||
algo.go | ||
apg.go | ||
config.go | ||
config_test.go | ||
go.mod | ||
mode.go | ||
mode_test.go | ||
random.go | ||
random_test.go | ||
sonar-project.properties |