1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-12 13:00:39 +00:00

add check ineffect and gofmt

This commit is contained in:
astaxie
2017-04-28 21:38:08 +08:00
parent f311ae9ebe
commit 3e29078f68
6 changed files with 24 additions and 13 deletions

View File

@ -2,11 +2,12 @@ package alils
import (
"encoding/json"
"github.com/astaxie/beego/logs"
"github.com/gogo/protobuf/proto"
"strings"
"sync"
"time"
"github.com/astaxie/beego/logs"
"github.com/gogo/protobuf/proto"
)
const (
@ -124,12 +125,10 @@ func (c *aliLSWriter) WriteMsg(when time.Time, msg string, level int) (err error
// 默认发到空Topic
if lg == nil {
topic = ""
content = msg
lg = c.group[0]
}
} else {
topic = ""
content = msg
lg = c.group[0]
}