Re:Go generate: A proposal for a Go preprocessor
by iand on Saturday September 27, 2014 @07:53AM
(#8376756)
I think you misunderstand the context. go generate is already in Go tip and will be released as part of Go 1.4
Re:Go generate: A proposal for a Go preprocessor
by pcl on Saturday September 27, 2014 @08:06AM
(#8376781)
Thanks; good to know. Here's a link to the original discussion thread on the Go newsgroup from July: https://groups.google.com/forum/#!topic/golang-dev/ZTD1qtpru...
If the author truly want a "go generate" they good sell it much better. I understand the yacc idea, it can be a pretty good solution for something like configuration files. OpenBSD use yacc to do the grammar for many of they tools and that has worked out create.
The big sell though would be WSDLs. I understand the aversion towards SOAP and WSDL, but it's here and having Go support would be nice. Generating Go code from a WSDL wouldn't be to hard a sell I think, and it fits nicely into this idea.