Skip to content

marwan-at-work/muxw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Muxw

A simple wrapper around the new Go 1.22 muxer. It decorates the net/http muxer with the following:

  1. Middleware functionality.
  2. Trailing slash footgun protection.
  3. Subrouting.
  4. HTTP methods as Go methods such as muxer.Post("/hello", helloHandler) instead of muxer.Handle("POST /hello", helloHandler).

About

Go 1.22 net/http mux wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages