3 ms·
In fact, since go does not have explicit constructors, it encourages the factory pattern all over the place. You'll find static factories everywhere in the go l
by sarnowski 13y ago
In fact, since go does not have explicit constructors, it encourages the factory pattern all over the place. You'll find static factories everywhere in the go library.
http://golang.org/doc/effective_go.html#composite_literals http://golang.org/doc/effective_go.html#composite_literals
- deleted 13y ago[deleted]