diff --git a/storage/boltdb/boltdb.go b/storage/boltdb/boltdb.go index c765755..0e069f4 100644 --- a/storage/boltdb/boltdb.go +++ b/storage/boltdb/boltdb.go @@ -14,7 +14,7 @@ const ( AndroidErrorKey = "gorush-android-error-count" ) -// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush) +// New func implements the storage interface for gorush (https://github.com/appleboy/gorush) func New(config config.ConfYaml) *Storage { return &Storage{ config: config, diff --git a/storage/memory/memory.go b/storage/memory/memory.go index edb58d2..75445bf 100644 --- a/storage/memory/memory.go +++ b/storage/memory/memory.go @@ -23,7 +23,7 @@ type IosStatus struct { PushError int64 `json:"push_error"` } -// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush) +// New func implements the storage interface for gorush (https://github.com/appleboy/gorush) func New() *Storage { return &Storage{ stat: &statApp{}, diff --git a/storage/redis/redis.go b/storage/redis/redis.go index ce2ca8a..fd4e59e 100644 --- a/storage/redis/redis.go +++ b/storage/redis/redis.go @@ -18,7 +18,7 @@ const ( var RedisClient *redis.Client -// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush) +// New func implements the storage interface for gorush (https://github.com/appleboy/gorush) func New(config config.ConfYaml) *Storage { return &Storage{ config: config,