On 2020-08-01 10:29, Kevin Chadwick wrote: > I'm wondering. Would it be better to have say a template in a folder that is > used to generate all the various typed Golang ready for the compiler. > > This way the code would be fully typed and could be maintained in one place. > The > compiler could maybe still be as fast as today post generation and the untyped > code ignored and the generated typed code read more easily as standard code?
Maybe the compiler could switch between the generated imports depending on the type in question? -- 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/063874f8-c704-f0e1-e6b8-d17cd4767911%40gmail.com.