Why do you need all of your factories to have a common parameter? Also, what problem are you trying to solve? If you're just trying to organize your code, to what end are you pursuing this generalization? That is, what would you like your final code to look like? (Feel free to use psuedocode to get your point across.)
-- 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.