I've just read the chapter on Creational patterns in the book Design Patterns in golang. These are:
- factory
- abstract factory
- prototype
- singleton
- builder
I've created a repository on github to list all of them. I've looked for other repositories like mine:
Some list object-pool
as a pattern, others simple-factory
and factory-method
. Does there exist an official list of creational patterns in go? Is it important to know the list, or is it more important to know what is possible and be able to use right code in right context? With or without know all the patterns in the world?
And, ... what is the difference between prototype and object pool patterns? They look very similar to me.