From 5f327a458f6488d053815621cd1a5154f1ce76c0 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Mon, 23 Jan 2023 10:28:04 -0800 Subject: 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 `/`. --- go.mod | 1 - 1 file changed, 1 deletion(-) (limited to 'go.mod') 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 -- cgit v1.2.3