fix gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
9221aa6de1
commit
08a5493e4f
|
@ -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()
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue