refactor: update import path.
This commit is contained in:
@@ -2,6 +2,7 @@ package gorush
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/appleboy/gorush/config"
|
||||
apns "github.com/sideshow/apns2"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package gorush
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestSetLogLevel(t *testing.T) {
|
||||
|
||||
@@ -3,14 +3,15 @@ package gorush
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/google/go-gcm"
|
||||
apns "github.com/sideshow/apns2"
|
||||
"github.com/sideshow/apns2/certificate"
|
||||
"github.com/sideshow/apns2/payload"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/google/go-gcm"
|
||||
apns "github.com/sideshow/apns2"
|
||||
"github.com/sideshow/apns2/certificate"
|
||||
"github.com/sideshow/apns2/payload"
|
||||
)
|
||||
|
||||
// D provide string array
|
||||
|
||||
@@ -2,15 +2,16 @@ package gorush
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/appleboy/gorush/config"
|
||||
"github.com/buger/jsonparser"
|
||||
"github.com/google/go-gcm"
|
||||
"github.com/sideshow/apns2"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestDisabledAndroidIosConf(t *testing.T) {
|
||||
|
||||
@@ -2,8 +2,9 @@ package gorush
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"runtime"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
var version string
|
||||
|
||||
Reference in New Issue
Block a user