Skip to content

E0403: A handler isn't a function ​

A route registered from Go (app.Get(path, h)) takes a function, of any shape a decorated handler may have. Reported at boot, and by vukavet.

Wrong ​

go
app.Get("/pets", petStore)
go
app.Get("/pets", petStore.List)

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.