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.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 865c7b9..c63210f 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,5 @@ module xengineering.eu/ceres -go 1.18 +go 1.22 require github.com/mattn/go-sqlite3 v1.14.22 - -require github.com/gorilla/mux v1.8.1 -- cgit v1.2.3-70-g09d2