chore(lint): fix some condition. (#624)

This commit is contained in:
Bo-Yi Wu
2021-08-04 09:00:04 +08:00
committed by GitHub
parent 0a8d801380
commit ea71e99f2d
8 changed files with 27 additions and 23 deletions

View File

@@ -457,5 +457,5 @@ Retry:
goto Retry
}
return
return resp, nil
}

View File

@@ -58,7 +58,7 @@ func TestIOSNotificationStructure(t *testing.T) {
test := "test"
expectBadge := 0
message := "Welcome notification Server"
expiration := int64(time.Now().Unix())
expiration := time.Now().Unix()
req := &PushNotification{
ApnsID: test,
Topic: test,

View File

@@ -228,7 +228,7 @@ Retry:
goto Retry
}
return
return resp, nil
}
func logPush(cfg *config.ConfYaml, status, token string, req *PushNotification, err error) logx.LogPushEntry {

View File

@@ -227,5 +227,5 @@ Retry:
goto Retry
}
return
return resp, nil
}