From f823e5a1d576a4bf2a0c8fbac0652389b4703e02 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 31 Jul 2016 21:10:59 +0800 Subject: [PATCH] update lint. Signed-off-by: Bo-Yi Wu --- storage/boltdb/boltdb.go | 2 +- storage/memory/memory.go | 2 +- storage/redis/redis.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,