stretchr / goweb

A lightweight RESTful web framework for Go
632 stars 61 forks source link

Support for PATCH #57

Closed vayam closed 10 years ago

vayam commented 10 years ago

Will you be adding support for PATCH?

matryer commented 10 years ago

Technically you can do this today:

goweb.Map("PATCH", "resource/1", func(c context.Context) {
  // ...
})

Do you mean in the controllers?

vayam commented 10 years ago

controller would have be nice. but this works too. thanks.

matryer commented 10 years ago

@vayam - I actually agree... please give me your feedback here: https://github.com/stretchr/goweb/issues/58

matryer commented 10 years ago

Please see https://github.com/stretchr/goweb/pull/60