Make GoLinter happy

This commit is contained in:
Winni Neessen 2021-09-23 14:42:13 +02:00
parent fcd148904b
commit 45ce66cd30
2 changed files with 3 additions and 9 deletions

View file

@ -4,13 +4,8 @@
<option name="autoReloadType" value="ALL" />
</component>
<component name="ChangeListManager">
<list default="true" id="e32960c0-29e5-4669-9fc2-ef12314486ce" name="Changes" comment="IDE settings...">
<change afterPath="$PROJECT_DIR$/chars/koremutake.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<list default="true" id="e32960c0-29e5-4669-9fc2-ef12314486ce" name="Changes" comment="Added pronounceable passwords #27">
<change beforePath="$PROJECT_DIR$/cmd/apg/apg.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/apg/apg.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/config.go" beforeDir="false" afterPath="$PROJECT_DIR$/config/config.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/random/random.go" beforeDir="false" afterPath="$PROJECT_DIR$/random/random.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/spelling/spelling.go" beforeDir="false" afterPath="$PROJECT_DIR$/spelling/spelling.go" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -86,7 +81,8 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="IDE settings..." />
<option name="LAST_COMMIT_MESSAGE" value="IDE settings..." />
<MESSAGE value="Added pronounceable passwords #27" />
<option name="LAST_COMMIT_MESSAGE" value="Added pronounceable passwords #27" />
</component>
<component name="VgoProject">
<integration-enabled>true</integration-enabled>

View file

@ -117,7 +117,6 @@ func main() {
log.Fatalf("error spelling out password: %s\n", err)
}
fmt.Printf("%v (%v)\n", p, spelledPw)
break
case 2:
fmt.Printf("%s", p)
if cfgObj.SpellPron {
@ -130,7 +129,6 @@ func main() {
fmt.Println()
default:
fmt.Println(p)
break
}
if cfgObj.CheckHibp {