about summary refs log tree commit diff stats
path: root/http
diff options
context:
space:
mode:
authorMarkus Wüstenberg2024-10-03 11:26:44 +0200
committerGitHub2024-10-03 11:26:44 +0200
commitfe24f0575214093cc72201ecc1cc463865dcb1e2 (patch)
tree0a96f8c9162c05f93a5506ec1cf85aef48bb8106 /http
parenta58043d58789f95046a567d2ad1bde55e352d5f0 (diff)
downloadgomponents-fe24f0575214093cc72201ecc1cc463865dcb1e2.tar.lz
gomponents-fe24f0575214093cc72201ecc1cc463865dcb1e2.tar.zst
gomponents-fe24f0575214093cc72201ecc1cc463865dcb1e2.zip
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
Diffstat (limited to 'http')
-rw-r--r--http/handler.go2
-rw-r--r--http/handler_test.go4
2 files changed, 3 insertions, 3 deletions
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) {