all repos — gomponents @ 3df42084aed213fc9e760b53b5132da63b1818b7

HTML components in pure Go

Add HTML5 document template (#36)

Markus Wüstenberg
commit

3df42084aed213fc9e760b53b5132da63b1818b7

parent

13701c4f668eba27956a8ac554a1fe272245d210

1 file changed, 8 insertions(+), 0 deletions(-)

changed files
M attr/simple.goattr/simple.go
@@ -12,8 +12,16 @@ func AutoComplete(v string) g.Node {
return g.Attr("autocomplete", v) } +func Charset(v string) g.Node { + return g.Attr("charset", v) +} + func Class(v string) g.Node { return g.Attr("class", v) +} + +func Content(v string) g.Node { + return g.Attr("content", v) } func Form(v string) g.Node {