Go code generate html
go get -u github.com/gouef/html
package main
import "github.com/gouef/html"
func getHtml() string {
el := html.El("div")
el.AddAttribute("class", "container-fluid")
child := html.El("p").AddString("some text")
el.AddHtml(child)
return el.Render()
}
Commit message should looks like
[TYPE] some message
- Add
- Fix
- Update
- Remove
- Refactor
- Docs
- Test
- Improve