Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add package docs (#41) | Markus Wüstenberg | 2020-11-02 | -0/+1 |
| | | | Also update readme with features. | |||
* | Render to Writer instead of string (#39) | Markus Wüstenberg | 2020-11-02 | -1/+11 |
| | | | | | | | The Render function has been changed to take a `Writer` instead of returning a string. This makes it possible to generate documents without having the whole content in memory. This also removes the `gomponents.Write` function, which is now redundant. Furthermore, the `el.Document` function has been changed to only take one child, as multiple children never make sense for it. (It's not even a child, more a sibling.) | |||
* | Make NodeFunc and attr implement fmt.Stringer (#6) | Markus Wüstenberg | 2020-09-18 | -0/+15 |