From 08a5493e4ffb9ebfd31d9bfe764f0b107934c89e Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 3 Apr 2016 07:27:10 +0800 Subject: [PATCH] fix gofmt. Signed-off-by: Bo-Yi Wu --- gorush.go | 4 ++-- gorush/notification.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gorush.go b/gorush.go index ad11d4a..299ad33 100644 --- a/gorush.go +++ b/gorush.go @@ -50,9 +50,9 @@ func main() { } if err = gopush.CheckPushConf(); err != nil { - log.Printf("Check Conf Error: '%v'", err) + log.Printf("Check Conf Error: '%v'", err) - return + return } gopush.InitAPNSClient() diff --git a/gorush/notification.go b/gorush/notification.go index 2920545..1160201 100644 --- a/gorush/notification.go +++ b/gorush/notification.go @@ -1,12 +1,12 @@ package gopush import ( + "errors" "github.com/google/go-gcm" apns "github.com/sideshow/apns2" "github.com/sideshow/apns2/certificate" "github.com/sideshow/apns2/payload" "log" - "errors" ) type ExtendJSON struct {