Here are some code generators that let you define template parameters: https://github.com/cheekybits/genny https://github.com/taylorchu/generic https://github.com/joeshaw/gengen https://github.com/clipperhouse/gen
Making use of Go templates: https://github.com/ncw/gotemplate https://github.com/droundy/gotgo Am Dienstag, 11. Dezember 2018 04:00:57 UTC+1 schrieb Tharaneedharan Vilwanathan: > > Hi All, > > I have a quick question. > > What is the best choice for writing generic code till Go officially > supports generics? Just looking for some guidance. > > Regards > dharani > > -- 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.