mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 13:03:22 +08:00
代码规范过滤,移除冗余代码,替换掉不推荐的包
This commit is contained in:
@@ -57,8 +57,6 @@ func (m *Response) SetCode(code ...int) {
|
||||
if m.Code == 0 {
|
||||
m.Code = consts.TCPMsgCodeSuccess
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// GetError 获取响应中的错误
|
||||
|
Reference in New Issue
Block a user