improve code quality
* fill empty block of code
This commit is contained in:
@@ -250,7 +250,8 @@ func (c *Controller) Bind(obj interface{}) error {
|
||||
return c.BindJson(obj)
|
||||
}
|
||||
i, l := 0, len(ct[0])
|
||||
for ; i < l && ct[0][i] != ';'; i++ {
|
||||
for i < l && ct[0][i] != ';' {
|
||||
i++
|
||||
}
|
||||
switch ct[0][0:i] {
|
||||
case "application/json":
|
||||
|
||||
Reference in New Issue
Block a user