diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | assert/assert.go | 1 | ||||
-rw-r--r-- | components/documents.go | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md index 28f1edf..118a1c7 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,16 @@ The implementation is still incomplete, but usable. The API may change until ver Check out the blog post [gomponents: declarative view components in Go](https://www.maragu.dk/blog/gomponents-declarative-view-components-in-go/) for background. +## Features + +- Write declarative HTML in Go without all the strings, so you get + - Type safety + - Auto-completion + - Nice formatting with `gofmt` +- Simple API that's easy to learn and use +- Build reusable view components +- No external dependencies + ## Usage Get the library using `go get`: diff --git a/assert/assert.go b/assert/assert.go index b18ff65..deeb3e9 100644 --- a/assert/assert.go +++ b/assert/assert.go @@ -1,3 +1,4 @@ +// Package assert provides testing helpers. package assert import ( diff --git a/components/documents.go b/components/documents.go index 65f3e63..5e96466 100644 --- a/components/documents.go +++ b/components/documents.go @@ -1,3 +1,4 @@ +// Package components provides high-level components that are composed of low-level elements and attributes. package components import ( |