Skip to content

Commit

Permalink
feat(company): use := instead of var
Browse files Browse the repository at this point in the history
  • Loading branch information
qu35t-code committed Jun 17, 2024
1 parent 30ca9c9 commit d459dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func WithNumbers(wordlist []string, specificRange int) []string {
Numbers := make([]int, specificRange+1)
for _, word := range wordlist {
for i := range Numbers {
var newPassword = word + strconv.Itoa(i)
newPassword := word + strconv.Itoa(i)

wordlist = append(wordlist, newPassword)
}
Expand Down

0 comments on commit d459dab

Please sign in to comment.