Removed Main function

This commit is contained in:
Brandon Dyck 2019-03-21 20:09:26 -06:00
parent 6c9cefc247
commit 79c3984eb6

View File

@ -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)
}
}