hoisie/web.go — Issue #90: methodhandler example no longer valid
Author: JamesFysh
Created: 2011-11-07 23:47:13+00:00
State: open

A while ago I wrote a small app that utilises web.go, and specifically uses the (extinct?) web.MethodHandler method.

This no longer exists, which is fine, but the methodhandler.go example file still uses web.MethodHandler - very misleading to anyone trying to learn from the examples.

Ideally this file would either be removed, or even better, updated to show how code using web.MethodHandler can be re-written to continue to provide the correct functionality.