mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-01 10:22:35 +02:00
lint fix.
This commit is contained in:
parent
1ff743c598
commit
9c014336ff
16 changed files with 76 additions and 46 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue