Like func NewNode(...) and func NewAttr(...)

Also a SetAttr on Nodes

On Monday, July 12, 2021 at 7:38:08 PM UTC+2 atd...@gmail.com wrote:

> Just wondering if people would feel it worthy to have COnstructor 
> functions to create html.Nodes, attributes, and set attributes on 
> html.Nodes.
>
> I'm writing some kind of metaframework targeting the web and mobile (think 
> flutter for Go) and basically finished the web target via wasm.
>
> But I'd like to convert the app tree into an html node tree for static 
> generation of pages (think isomorphic app server or whatever the 
> terminology frontend dev use nowadays)
>
> After having looked at different solutions, x/net/html seems simple enough 
> albeit a bit lacking.
>
> Maybe it is by design for people to build upon it though.
>
> So, do I prepare PRs or just build on it for myself?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9f51f7fc-10c0-486c-a459-a7acec0a331cn%40googlegroups.com.

Reply via email to