Updated Term documentation

This commit is contained in:
Brandon Dyck 2019-04-28 15:28:57 -06:00
parent f9176319ce
commit 90b6e52798

View File

@ -3,7 +3,7 @@ package hatmill
//go:generate go run internal/codegen/codegen.go -input defs.json -elemfile element/generated.go -elempkg element -attribfile attribute/generated.go -attribpkg attribute //go:generate go run internal/codegen/codegen.go -input defs.json -elemfile element/generated.go -elempkg element -attribfile attribute/generated.go -attribpkg attribute
import "io" import "io"
// Term represents a fragment of HTML markup, and is one of VoidElement, ParentElement, or Text. // Term represents a fragment of HTML markup, and is one of VoidElement, ParentElement, Terms, or Text.
type Term interface { type Term interface {
io.WriterTo io.WriterTo