代码如下:func Contain(livesJSON []LiveJSON, single db.Live) bool { for _, json := range livesJSON { if json.Start == single.Time && json.Team == single.HomeTeamId { return false } else { return true } }}我return在if和else。
1 回答
- 1 回答
- 0 关注
- 303 浏览
添加回答
举报
0/150
提交
取消