refactor: import order.

This commit is contained in:
Bo-Yi Wu 2022-12-03 22:44:29 +08:00
parent ebe3723319
commit d801a47c96
4 changed files with 27 additions and 21 deletions

View File

@ -9,6 +9,7 @@ import (
"github.com/appleboy/gorush/config" "github.com/appleboy/gorush/config"
"github.com/appleboy/gorush/status" "github.com/appleboy/gorush/status"
"github.com/buger/jsonparser" "github.com/buger/jsonparser"
"github.com/sideshow/apns2" "github.com/sideshow/apns2"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
@ -365,6 +366,7 @@ func TestCheckSilentNotification(t *testing.T) {
// URL: https://goo.gl/5xFo3C // URL: https://goo.gl/5xFo3C
// Example 2 // Example 2
//
// { // {
// "aps" : { // "aps" : {
// "alert" : { // "alert" : {
@ -412,6 +414,7 @@ func TestAlertStringExample2ForIos(t *testing.T) {
// URL: https://goo.gl/5xFo3C // URL: https://goo.gl/5xFo3C
// Example 3 // Example 3
//
// { // {
// "aps" : { // "aps" : {
// "alert" : "You got your emails.", // "alert" : "You got your emails.",

View File

@ -9,6 +9,7 @@ import (
"github.com/appleboy/gorush/core" "github.com/appleboy/gorush/core"
"github.com/appleboy/gorush/logx" "github.com/appleboy/gorush/logx"
"github.com/appleboy/gorush/status" "github.com/appleboy/gorush/status"
c "github.com/msalihkarakasli/go-hms-push/push/config" c "github.com/msalihkarakasli/go-hms-push/push/config"
client "github.com/msalihkarakasli/go-hms-push/push/core" client "github.com/msalihkarakasli/go-hms-push/push/core"
"github.com/msalihkarakasli/go-hms-push/push/model" "github.com/msalihkarakasli/go-hms-push/push/model"

View File

@ -4,6 +4,7 @@ import (
"testing" "testing"
"github.com/appleboy/gorush/config" "github.com/appleboy/gorush/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@ -4,6 +4,7 @@ import (
"testing" "testing"
"github.com/appleboy/gorush/config" "github.com/appleboy/gorush/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )