Removed Main function
This commit is contained in:
parent
6c9cefc247
commit
79c3984eb6
15
hatmill.go
15
hatmill.go
@ -155,18 +155,3 @@ func WriteDocument(w io.Writer, root *ParentElement) (n int64, err error) {
|
||||
n += nroot
|
||||
return
|
||||
}
|
||||
|
||||
func Main() {
|
||||
var page = Div(Disabled(), Id("container"))(
|
||||
Img(Id("profile-photo")),
|
||||
Text("hello"),
|
||||
Img(Disabled()),
|
||||
)
|
||||
|
||||
n, err := WriteDocument(os.Stdout, page)
|
||||
fmt.Println()
|
||||
fmt.Println(n)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user