4 ms·
How about just using the builder pattern?
by toddkazakov 8y ago
How about just using the builder pattern?
- _drFaust 8y agoNot familiar with go or that pattern but is this a good example? https://gist.github.com/vaskoz/10073335 https://gist.github.com/vaskoz/10073335
- baby 8y agohave an initSomething() that returns an initialized struct.
- toddkazakov 8y agoYes, that's a good example