Break the switch/case

This commit is contained in:
Winni Neessen 2021-03-21 19:25:54 +01:00
parent d975c5d1db
commit 9707c875b4
Signed by: wneessen
GPG key ID: 385AC9889632126E

3
apg.go
View file

@ -8,7 +8,7 @@ import (
// Constants // Constants
const DefaultPwLenght int = 20 const DefaultPwLenght int = 20
const VersionString string = "0.2.5" const VersionString string = "0.2.6"
const PwLowerCharsHuman string = "abcdefghjkmnpqrstuvwxyz" const PwLowerCharsHuman string = "abcdefghjkmnpqrstuvwxyz"
const PwUpperCharsHuman string = "ABCDEFGHJKMNPQRSTUVWXYZ" const PwUpperCharsHuman string = "ABCDEFGHJKMNPQRSTUVWXYZ"
const PwLowerChars string = "abcdefghijklmnopqrstuvwxyz" const PwLowerChars string = "abcdefghijklmnopqrstuvwxyz"
@ -90,6 +90,7 @@ func main() {
os.Exit(1) os.Exit(1)
} }
fmt.Printf("%v (%v)\n", pwString, spelledPw) fmt.Printf("%v (%v)\n", pwString, spelledPw)
break
} }
default: default:
{ {