Skip to content
marwan-at-workPublic

About

Go 1.22 net/http mux wrapper

Resources

Stars

2 stars

Watchers

3 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages