From 79c3984eb69bb840ff1488a5396a010051e7d8eb Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Thu, 21 Mar 2019 20:09:26 -0600 Subject: [PATCH] Removed Main function --- hatmill.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hatmill.go b/hatmill.go index ad3f40a..c08565a 100644 --- a/hatmill.go +++ b/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) - } -}