Replace interface{}
This commit is contained in:
parent
eaf3e83e72
commit
5014bba0b3
7 changed files with 17 additions and 17 deletions
|
@ -23,7 +23,7 @@ func (e errHTTP) JSON() string {
|
|||
return string(b)
|
||||
}
|
||||
|
||||
func wrapErrHTTP(err *errHTTP, message string, args ...interface{}) *errHTTP {
|
||||
func wrapErrHTTP(err *errHTTP, message string, args ...any) *errHTTP {
|
||||
return &errHTTP{
|
||||
Code: err.Code,
|
||||
HTTPCode: err.HTTPCode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue