livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.58k stars 179 forks source link

support HandlerFunc actions #147

Closed vito closed 2 years ago

vito commented 2 years ago

As discussed in #143: if an action matches the http.HandlerFunc signature, use it directly. Route parameters are available in r.URL.Query(), and a test covers that as well.

Let me know if anything else is needed here!

matthewmueller commented 2 years ago

This. is. awesome. Thanks Alex!!

Code looks great. Also cool to see how few changes you made to add this feature.

Really nice work! 👏