Moved go generate data into html5 dir

This commit is contained in:
Brandon Dyck 2019-03-28 20:21:04 -06:00
parent a73ec53de9
commit 4ebae3c948
3 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,6 @@ package hatmill
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.
type Term interface {
io.WriterTo

View File

@ -1,5 +1,7 @@
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"
// Data creates an attribute of the form "data-suffix='value'".