HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by toddkazakov | Hacker News Reader
Parent
Full thread
toddkazakov
·
How about just using the builder pattern?
View on HN
_drFaust
·
Not familiar with go or that pattern but is this a good example?
https://gist.github.com/vaskoz/10073335
baby
·
have an initSomething() that returns an initialized struct.
toddkazakov
·
Yes, that's a good example
Reply on news.ycombinator.com