Skip to content

Commit 4ae54be

Browse files
author
yokotaso
committed
Fix lint
1 parent 2882dec commit 4ae54be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gorush/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func getLogPushEntry(status, token string, req PushNotification, errPush error,
181181
}
182182
}
183183

184-
func SuccessLogPush(status, token string, req PushNotification) {
184+
func successLogPush(status, token string, req PushNotification) {
185185
LogPush(status, token, req, nil, "")
186186
}
187187

gorush/notification_apns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ Retry:
422422
}
423423

424424
if res.Sent() && !isError {
425-
SuccessLogPush(SucceededPush, token, req)
425+
successLogPush(SucceededPush, token, req)
426426
StatStorage.AddIosSuccess(1)
427427
}
428428
// free push slot

gorush/notification_fcm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Retry:
184184
continue
185185
}
186186

187-
SuccessLogPush(SucceededPush, to, req)
187+
successLogPush(SucceededPush, to, req)
188188
}
189189

190190
// result from Send messages to topics
@@ -198,7 +198,7 @@ Retry:
198198
LogAccess.Debug("Send Topic Message: ", to)
199199
// Success
200200
if res.MessageID != 0 {
201-
SuccessLogPush(SucceededPush, to, req)
201+
successLogPush(SucceededPush, to, req)
202202
} else {
203203
isError = true
204204
// failure

0 commit comments

Comments
 (0)