Moved go generate data into html5 dir
This commit is contained in:
parent
a73ec53de9
commit
4ebae3c948
@ -2,8 +2,6 @@ package hatmill
|
|||||||
|
|
||||||
import "io"
|
import "io"
|
||||||
|
|
||||||
//go:generate go run ./internal/codegen/codegen.go -input htmldefs.json -output html5/generated.go -package html5 -import
|
|
||||||
|
|
||||||
// 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, or Text.
|
||||||
type Term interface {
|
type Term interface {
|
||||||
io.WriterTo
|
io.WriterTo
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package html5
|
package html5
|
||||||
|
|
||||||
|
//go:generate go run ../internal/codegen/codegen.go -input defs.json -output generated.go -package html5 -import
|
||||||
|
|
||||||
import "gitlab.codemonkeysoftware.net/b/hatmill"
|
import "gitlab.codemonkeysoftware.net/b/hatmill"
|
||||||
|
|
||||||
// Data creates an attribute of the form "data-suffix='value'".
|
// Data creates an attribute of the form "data-suffix='value'".
|
||||||
|
Loading…
Reference in New Issue
Block a user