redundant break statement.

This commit is contained in:
Miroslav Šedivý 2020-10-28 20:46:34 +01:00
parent d0d3e6b2d2
commit 7628554356

View File

@ -63,10 +63,8 @@ func errResponse(input interface{}) *ErrResponse {
case *error:
e := err.(error)
res.Details = e.Error()
break
default:
res.Details = fmt.Sprintf("%+v", err)
break
}
}