From 6005a51e0ca9af33f626863dadd36c6876e6116d Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 3 May 2016 09:56:59 +0800 Subject: [PATCH] rename the config path. Signed-off-by: Bo-Yi Wu --- gorush/global.go | 2 +- gorush/log_test.go | 2 +- gorush/notification_test.go | 2 +- gorush/server_test.go | 2 +- storage/boltdb/boltdb.go | 2 +- storage/boltdb/boltdb_test.go | 2 +- storage/redis/redis.go | 2 +- storage/redis/redis_test.go | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gorush/global.go b/gorush/global.go index 23d14c9..b99149f 100644 --- a/gorush/global.go +++ b/gorush/global.go @@ -3,7 +3,7 @@ package gorush import ( "crypto/tls" "github.com/Sirupsen/logrus" - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" apns "github.com/sideshow/apns2" ) diff --git a/gorush/log_test.go b/gorush/log_test.go index 41c6bd6..abbb698 100644 --- a/gorush/log_test.go +++ b/gorush/log_test.go @@ -2,7 +2,7 @@ package gorush import ( "github.com/Sirupsen/logrus" - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" "github.com/stretchr/testify/assert" "testing" ) diff --git a/gorush/notification_test.go b/gorush/notification_test.go index 394ab07..ddcebfa 100644 --- a/gorush/notification_test.go +++ b/gorush/notification_test.go @@ -2,7 +2,7 @@ package gorush import ( "encoding/json" - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" "github.com/buger/jsonparser" "github.com/google/go-gcm" "github.com/sideshow/apns2" diff --git a/gorush/server_test.go b/gorush/server_test.go index c3f6f4b..4255201 100644 --- a/gorush/server_test.go +++ b/gorush/server_test.go @@ -2,7 +2,7 @@ package gorush import ( "github.com/appleboy/gofight" - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" "github.com/buger/jsonparser" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" diff --git a/storage/boltdb/boltdb.go b/storage/boltdb/boltdb.go index 4f9ba18..c765755 100644 --- a/storage/boltdb/boltdb.go +++ b/storage/boltdb/boltdb.go @@ -1,7 +1,7 @@ package boltdb import ( - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" "github.com/asdine/storm" ) diff --git a/storage/boltdb/boltdb_test.go b/storage/boltdb/boltdb_test.go index b219d8a..cb24af8 100644 --- a/storage/boltdb/boltdb_test.go +++ b/storage/boltdb/boltdb_test.go @@ -1,7 +1,7 @@ package boltdb import ( - c "github.com/appleboy/gorush/gorush/config" + c "github.com/appleboy/gorush/config" "github.com/stretchr/testify/assert" "testing" ) diff --git a/storage/redis/redis.go b/storage/redis/redis.go index cebe44f..ce2ca8a 100644 --- a/storage/redis/redis.go +++ b/storage/redis/redis.go @@ -1,7 +1,7 @@ package redis import ( - "github.com/appleboy/gorush/gorush/config" + "github.com/appleboy/gorush/config" "gopkg.in/redis.v3" "log" "strconv" diff --git a/storage/redis/redis_test.go b/storage/redis/redis_test.go index 2851708..c50662a 100644 --- a/storage/redis/redis_test.go +++ b/storage/redis/redis_test.go @@ -1,7 +1,7 @@ package redis import ( - c "github.com/appleboy/gorush/gorush/config" + c "github.com/appleboy/gorush/config" "github.com/stretchr/testify/assert" "testing" )