mirror of
https://github.com/wneessen/go-hibp.git
synced 2024-11-22 21:00:51 +01:00
Make GoLinter happy
This commit is contained in:
parent
fc0ea3bd48
commit
5f40d8b8de
1 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,7 @@ func ExampleBreachApi_Breaches_getAllBreaches() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if bl != nil && len(bl) != 0 {
|
||||
if len(bl) != 0 {
|
||||
for _, b := range bl {
|
||||
fmt.Printf("Found breach:\n\tName: %s\n\tDomain: %s\n\tBreach date: %s\n\n",
|
||||
b.Name, b.Domain, b.BreachDate.Time().Format("Mon, 2. January 2006"))
|
||||
|
@ -262,7 +262,7 @@ func ExampleBreachApi_Breaches_getAllBreachesNoUnverified() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if bl != nil && len(bl) != 0 {
|
||||
if len(bl) != 0 {
|
||||
fmt.Printf("Found %d breaches total.\n", len(bl))
|
||||
}
|
||||
|
||||
|
@ -270,7 +270,7 @@ func ExampleBreachApi_Breaches_getAllBreachesNoUnverified() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if bl != nil && len(bl) != 0 {
|
||||
if len(bl) != 0 {
|
||||
fmt.Printf("Found %d verified breaches total.\n", len(bl))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue