fix gofmt.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-03 07:27:10 +08:00
parent 9221aa6de1
commit 08a5493e4f
2 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@ func main() {
} }
if err = gopush.CheckPushConf(); err != nil { if err = gopush.CheckPushConf(); err != nil {
log.Printf("Check Conf Error: '%v'", err) log.Printf("Check Conf Error: '%v'", err)
return return
} }
gopush.InitAPNSClient() gopush.InitAPNSClient()

View File

@ -1,12 +1,12 @@
package gopush package gopush
import ( import (
"errors"
"github.com/google/go-gcm" "github.com/google/go-gcm"
apns "github.com/sideshow/apns2" apns "github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate" "github.com/sideshow/apns2/certificate"
"github.com/sideshow/apns2/payload" "github.com/sideshow/apns2/payload"
"log" "log"
"errors"
) )
type ExtendJSON struct { type ExtendJSON struct {