Currently there is no difference between the routes /example
and /example/
, both serve the handler /example/
and if you try to visit /example
the 404 handler is triggered.
Instead, add some sort of redirect behavior similar to http.ServeMux