Remove unnecessary receiver variable
This commit is contained in:
parent
7280eed20c
commit
d0004bba70
@ -59,7 +59,7 @@ type DefaultErrorHandler struct {
|
||||
DefaultError
|
||||
}
|
||||
|
||||
func (eh *DefaultErrorHandler) Error(e Error) Error {
|
||||
func (*DefaultErrorHandler) Error(e Error) Error {
|
||||
return &DefaultErrorHandler{DefaultError: e.(DefaultError)}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user