aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 18:04:49 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 18:04:49 +0200
commitfb45f1f5002ffdb40150333c5a48458b801f3022 (patch)
treee83cab49735599e3adfb4557e229caa2f29ab7a7 /go.mod
parente52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe (diff)
downloadcerrado-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.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 5bd4d76..eabf863 100644
--- a/go.mod
+++ b/go.mod
@@ -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
)