The documentation for Go templates is ... scanty. My scaffolder https://github.com/goblimey/scaffolder includes several templates that set variables. It does other useful stuff such as driving template production from a JSON spec, creating templates from other templates, and so on.
Regards Simon -- 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. For more options, visit https://groups.google.com/d/optout.