Skip to content

Commit

Permalink
move storage interface to storage folder. (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy authored Jun 24, 2017
1 parent c1b9c19 commit 8dcc680
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions gorush/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package gorush
import (
"crypto/tls"

"github.com/Sirupsen/logrus"
"github.com/appleboy/gorush/config"
"github.com/appleboy/gorush/storage"

"github.com/Sirupsen/logrus"
apns "github.com/sideshow/apns2"
)

Expand All @@ -22,5 +24,5 @@ var (
// LogError is log server error log
LogError *logrus.Logger
// StatStorage implements the storage interface
StatStorage Storage
StatStorage storage.Storage
)
2 changes: 1 addition & 1 deletion gorush/storage.go → storage/storage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gorush
package storage

// Storage interface
type Storage interface {
Expand Down

0 comments on commit 8dcc680

Please sign in to comment.