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.mod | |
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.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ require ( github.com/go-git/go-git/v5 v5.12.0 github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2 github.com/google/go-cmp v0.6.0 + github.com/gorilla/mux v1.8.1 github.com/valyala/quicktemplate v1.7.0 golang.org/x/sync v0.7.0 ) |