From dbc874e2b9f300bea7a18deda32e784afb0ab89a Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 22 Oct 2024 21:17:47 +0200 Subject: Remove github.com/gorilla/mux dependency The reason for the introduction of this dependency was that it was easy to setup routes with HTTP method restrictions. Since Go 1.22 this feature is part of the standard library. Method restrictions are part of the patterns used to register routes [1]. [1]: https://pkg.go.dev/net/http#hdr-Patterns-ServeMux --- go.sum | 2 -- 1 file changed, 2 deletions(-) (limited to 'go.sum') diff --git a/go.sum b/go.sum index e3bcc1d..e8d092a 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,2 @@ -github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= -github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= -- cgit v1.2.3-70-g09d2