3 ms·
Go structs are copied on assignment (and other things about Go I'd missed)
- remram 2y agoIt's my first time seeing this "functional options pattern". I am used to the builder pattern, using methods on an options class. What is the advantage of this new approach? https://100go.co/#not-using-the-functional-options-pattern-11 https://100go.co/#not-using-the-functional-options-pattern-1...