1
0
View components in pure Go, that render to HTML 5. https://www.gomponents.com
This repository has been archived on 2024-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Markus Wüstenberg 8de5a685ef
Add a lot of common elements ()
Especially add elements that are either used in every document, that nearly always have text content, or that are almost always used with certain attributes.
2020-09-21 11:23:47 +02:00
.github/workflows Try out codecov.io () 2020-09-18 14:05:53 +02:00
assert Make NodeFunc and attr implement fmt.Stringer () 2020-09-18 14:38:09 +02:00
attr Add package attr with attribute helpers () 2020-09-18 14:44:47 +02:00
el Add a lot of common elements () 2020-09-21 11:23:47 +02:00
.editorconfig Add first implementation of Node, El, Attr, Text 2020-09-13 22:50:19 +02:00
.gitignore Add Makefile () 2020-09-18 13:57:04 +02:00
go.mod Add first implementation of Node, El, Attr, Text 2020-09-13 22:50:19 +02:00
gomponents_test.go Make NodeFunc and attr implement fmt.Stringer () 2020-09-18 14:38:09 +02:00
gomponents.go Don't render twice with children () 2020-09-21 11:14:37 +02:00
LICENSE Add first implementation of Node, El, Attr, Text 2020-09-13 22:50:19 +02:00
Makefile Add Makefile () 2020-09-18 13:57:04 +02:00
README.md Try out codecov.io () 2020-09-18 14:05:53 +02:00

gomponents

GoDoc codecov

gomponents are components of DOM nodes for Go, that can render to an HTML Document. gomponents aims to make it easy to build HTML pages of reusable components, without the use of a template language. Think server-side-rendered React, but without the virtual DOM and diffing.

The implementation is still incomplete, but usable. The API may change until version 1 is reached.