News for hackers. Stuff that matters.
Re:Toward Go 1.3 by Pxtl on Tuesday February 11, 2014 @02:36PM (#7219826)
Are there any good examples of this kind of approach? Any tooling support for this?
Re:Toward Go 1.3 by georgemcbay on Tuesday February 11, 2014 @02:55PM (#7219952)
None that is publicly available that I'm aware of, unfortunately.

No real tooling either other than whatever you choose to use for the build process. For the projects I've done this for that ends up being a very simple Makefile which does a 'go run' on the code generation engine code prior to a 'go build' of the resulting combined package of generated & hand-written code.

Re:Toward Go 1.3 by Matrixik on Tuesday February 11, 2014 @03:09PM (#7220051)
Do you use some custom code generation engine or gen[1]?

[1] http://clipperhouse.github.io/gen/ ("A library for bringing generics-like functionality to Go")

Re:Toward Go 1.3 by georgemcbay on Tuesday February 11, 2014 @03:20PM (#7220130)
Custom -- most of the code generation I've done has been about binding Go functionality into UI markup languages (similar to the way ActionScript binding in Flex works, for those who have used that) as opposed to generics-like functionality.

I've never used gen, it looks pretty nice though, at least based on the linked docs and it is probably a good answer to Pxtl's question about publicly available examples.