update lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
c2b4d31419
commit
f823e5a1d5
|
@ -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,
|
||||
|
|
|
@ -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{},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue