aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorGravatar Abhinav Gupta <mail@abhinavg.net> 2023-01-23 10:28:04 -0800
committerGravatar GitHub <noreply@github.com> 2023-01-23 10:28:04 -0800
commit5f327a458f6488d053815621cd1a5154f1ce76c0 (patch)
tree6856030c5ebec8581ce417c5c4e62e07a4346387 /go.mod
parent86218534c831b3fc6fdfb98f5ad334262d7060ae (diff)
downloadsally-5f327a458f6488d053815621cd1a5154f1ce76c0.tar.gz
sally-5f327a458f6488d053815621cd1a5154f1ce76c0.tar.zst
sally-5f327a458f6488d053815621cd1a5154f1ce76c0.zip
Drop httprouter dependency (#71)
This drops the third-party HTTP router dependency. This dependency wasn't strictly necessary since our routing needs are quite basic: - `/$name` and `/$name/*` for all registered packages - `/` for root This is easily accomplished with `http.ServeMux`: - register `/$name` and `/$name/`. The latter will receive all subpackage requests. - register `/` and reject anything that isn't for exactly `/`.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 0 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 58f7710..f118570 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,6 @@ module go.uber.org/sally
go 1.18
require (
- github.com/julienschmidt/httprouter v1.3.0
github.com/stretchr/testify v1.8.1
golang.org/x/net v0.5.0
gopkg.in/yaml.v2 v2.4.0