diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 18:04:49 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 18:04:49 +0200 |
commit | fb45f1f5002ffdb40150333c5a48458b801f3022 (patch) | |
tree | e83cab49735599e3adfb4557e229caa2f29ab7a7 /go.sum | |
parent | e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe (diff) | |
download | cerrado-fb45f1f5002ffdb40150333c5a48458b801f3022.tar.gz cerrado-fb45f1f5002ffdb40150333c5a48458b801f3022.tar.bz2 cerrado-fb45f1f5002ffdb40150333c5a48458b801f3022.zip |
ref: Move to gorilla mux
Go's default mux is very limited while comes to overlapping routes.
For example "/{name}/about" conflicts with "/static/" and it throws a
panic.
In the case I would like static to have precedence over everything else.
Diffstat (limited to 'go.sum')
-rw-r--r-- | go.sum | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2 h1:yEt5djSYb4i github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= |