I have a series of web pages generated from a template in OCaml and Perl
that I am able to express succinctly as a template in Go to replicate the
style of for my new implementation.

However, I'd like to do the "inverse" of that template and read a page back
into a struct of data, allowing me to synchronise data between these two
programs. I'm not in control of the applications that generate the data, so
I can't just put it into an intermediary form or API.

Is there any easy way to do that without having to parse and walk through
all the HTML manually, or without some hideous regex? Is that something
that's possible with the template package that I haven't discovered?

Matthew Walster

-- 
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/CADLW2vxw6xHk8yK7E179Wj1iATEErwTO-eoERKrmz0C0mYrO4w%40mail.gmail.com.

Reply via email to