There're many reflect-based mock and inject tools, and they are quite helpful.
But I noticed that the famous official mock tool mockgen and dependency injection tool wire both follow codegen style. So just out of curiosity, I want to know the underlying reason for that, is codegen better than reflect? -- 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/3e8f7f35-2b19-48e5-b006-550a2a42b548n%40googlegroups.com.