diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/README.md b/README.md index 6e1b6ca..6ae12c9 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ <img src="logo.png" alt="Logo" width="300" align="right"/> -[](https://pkg.go.dev/github.com/maragudk/gomponents) +[](https://pkg.go.dev/maragu.dev/gomponents) [](https://github.com/maragudk/gomponents/actions/workflows/ci.yml) [](https://codecov.io/gh/maragudk/gomponents) -[](https://goreportcard.com/report/github.com/maragudk/gomponents) +[](https://goreportcard.com/report/maragu.dev/gomponents) Try HTML components in pure Go. @@ -13,7 +13,9 @@ _gomponents_ are HTML components written in pure Go. They render to HTML 5, and make it easy for you to build reusable components. So you can focus on building your app instead of learning yet another templating language. -The API may change until version 1 is reached. +```shell +go get maragu.dev/gomponents +``` Made with ✨sparkles✨ by [maragu](https://www.maragu.dev/). @@ -40,7 +42,7 @@ Check out [www.gomponents.com](https://www.gomponents.com) for an introduction. ## Usage ```shell -go get github.com/maragudk/gomponents +go get maragu.dev/gomponents ``` The preferred way to use gomponents is with so-called dot-imports (note the dot before the imports), @@ -50,9 +52,9 @@ to give you that smooth, native HTML feel: package main import ( - . "github.com/maragudk/gomponents" - . "github.com/maragudk/gomponents/components" - . "github.com/maragudk/gomponents/html" + . "maragu.dev/gomponents" + . "maragu.dev/gomponents/components" + . "maragu.dev/gomponents/html" ) func Navbar(authenticated bool, currentPath string) Node { |