I have been looking for whether Go could be used for creating user-facing apps. If so, it would be useful to support eXtensible markup directly nested in Go code, in the form of eXtensible Markup Language (XML), which translates to complex nodes that may be used for rendering GUI in reactive mode.
In that markup, tags would refer to Go component functions and native tags. Native tags (e.g. <b>, <p>, <span>) are determined by a library that defines them; once that library defines the native tags, they cannot be overriden by another library.
The nodes resulting from that markup may express interpolated values such as in attributes and content nodes. It's important that renderers may read all values of a node, for the purpose of reactivity and determining what parts of, say, the GUI, have changed and need to be re-rendered.
Go component functions: they must take one argument, which represents the component's properties. How the components are invoked by a renderer relies on a little dynamic conversion from any to the component's properties parameter type.
--
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 visit
https://groups.google.com/d/msgid/golang-nuts/cd716a55-9f2c-4335-84b4-04d5981b0e0an%40googlegroups.com.