26bb7230

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Group route middleware with subrouters (#111)

Add a small ServeMux-compatible subrouter helper so routes can share middleware chains without repeating nested handler wrapping at each registration.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/111
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 5s 1s 1s 7s
Eval 7s 48s 48s 56s
Build 13s 1m36s 14s 27s
Test - - - -
Deploy - - - -
Suite 5s 2m26s 50s 56s

Timeline

0s10s20s30s40s50s