From fe24f0575214093cc72201ecc1cc463865dcb1e2 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Thu, 3 Oct 2024 11:26:44 +0200 Subject: Move module to maragu.dev/gomponents namespace (#215) This is a breaking change to move gomponents to my own import namespace. I will obviously be careful with this, test it out in all kinds of scenarios, release betas, etc. But otherwise, because the `Node` interface is so simple and has basically never changed, I don't think this will break much. 🤞 Fixes #200--- http/handler.go | 2 +- http/handler_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'http') diff --git a/http/handler.go b/http/handler.go index c53655b..1de6b8c 100644 --- a/http/handler.go +++ b/http/handler.go @@ -4,7 +4,7 @@ package http import ( "net/http" - g "github.com/maragudk/gomponents" + g "maragu.dev/gomponents" ) // Handler is like [http.Handler] but returns a [g.Node] and an error. diff --git a/http/handler_test.go b/http/handler_test.go index 706e9eb..453e3e7 100644 --- a/http/handler_test.go +++ b/http/handler_test.go @@ -7,8 +7,8 @@ import ( "net/http/httptest" "testing" - g "github.com/maragudk/gomponents" - ghttp "github.com/maragudk/gomponents/http" + g "maragu.dev/gomponents" + ghttp "maragu.dev/gomponents/http" ) func TestAdapt(t *testing.T) { -- cgit 1.4.1