chore: fix warnings (#3990)

This commit is contained in:
Kevin Wan
2024-03-09 13:48:11 +08:00
committed by GitHub
parent 159ecb7386
commit e9e55125a9
16 changed files with 39 additions and 37 deletions

View File

@@ -435,7 +435,7 @@ type mockedRouter struct {
func (m mockedRouter) ServeHTTP(_ http.ResponseWriter, _ *http.Request) {
}
func (m mockedRouter) Handle(_, _ string, handler http.Handler) error {
func (m mockedRouter) Handle(_, _ string, _ http.Handler) error {
return errors.New("foo")
}