From 4b6ac6d8d20a0b85c37e24816f916b60553c70c8 Mon Sep 17 00:00:00 2001 From: Ryan Guest Date: Sun, 26 Mar 2017 05:33:33 -0700 Subject: [PATCH] [ci skip] fix: typo in code comments (#198) --- gorush/notification.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gorush/notification.go b/gorush/notification.go index b04e7a2..db8f412 100644 --- a/gorush/notification.go +++ b/gorush/notification.go @@ -286,7 +286,7 @@ func iosAlertDictionary(payload *payload.Payload, req PushNotification) *payload return payload } -// GetIOSNotification use for define iOS notificaiton. +// GetIOSNotification use for define iOS notification. // The iOS Notification Payload // 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 { @@ -401,7 +401,7 @@ Retry: return isError } -// GetAndroidNotification use for define Android notificaiton. +// GetAndroidNotification use for define Android notification. // HTTP Connection Server Reference for Android // https://developers.google.com/cloud-messaging/http-server-ref func GetAndroidNotification(req PushNotification) gcm.HttpMessage {