Hi! You also could use C preprocessor to make such things. I have used it to generate some generics algorithms to increase performance and reduce interfaces overhead. It is not the best approach, but it could be useful and powerful.
FYI: https://github.com/gobwas/ppgo -- 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.