github.com/alexandrevicenzi/yagm (go): Package yagm implements a simple regular expression pattern match mux.  YagmMux uses regular expressions to match an URL. If you're familiar with Django, the patterns match is almost the same. If you're not, take a look in the pattern match explanation below.  Remember, the declared order can affect the match. For example, if you place "^/[a-z]+" before "^/index" it will never match "^/index", as the regular expression of "^/[a-z]+" can match "/index" too.  The route "^/$" will match only  The route "^/files" will match  The route "^/index$" will match  and will not match  If you use named groups like "^/(?P<name>[a-zA-Z]+)$" you can use yagm.Param or yagm.Params function to retrieve the value ot the groups.  YagmMux is very close to http.ServeMux. You can replace your actual http.ServeMux by YagmMux without any problem.
Keywords: go|golang|mux|mux-server|regex|servemux