[ci skip] fix: typo in code comments (#198)
This commit is contained in:
parent
04ff032214
commit
4b6ac6d8d2
|
@ -286,7 +286,7 @@ func iosAlertDictionary(payload *payload.Payload, req PushNotification) *payload
|
||||||
return payload
|
return payload
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetIOSNotification use for define iOS notificaiton.
|
// GetIOSNotification use for define iOS notification.
|
||||||
// The iOS Notification Payload
|
// The iOS Notification Payload
|
||||||
// ref: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
|
// ref: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
|
||||||
func GetIOSNotification(req PushNotification) *apns.Notification {
|
func GetIOSNotification(req PushNotification) *apns.Notification {
|
||||||
|
@ -401,7 +401,7 @@ Retry:
|
||||||
return isError
|
return isError
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetAndroidNotification use for define Android notificaiton.
|
// GetAndroidNotification use for define Android notification.
|
||||||
// HTTP Connection Server Reference for Android
|
// HTTP Connection Server Reference for Android
|
||||||
// https://developers.google.com/cloud-messaging/http-server-ref
|
// https://developers.google.com/cloud-messaging/http-server-ref
|
||||||
func GetAndroidNotification(req PushNotification) gcm.HttpMessage {
|
func GetAndroidNotification(req PushNotification) gcm.HttpMessage {
|
||||||
|
|
Loading…
Reference in New Issue