The code shown for "User decorator pattern" is more properly known as the "Functional options" pattern. I think this talk demonstrates the decorator pattern more correctly: https://www.youtube.com/watch?v=xyDkyFjzFVc
On Monday, July 31, 2017 at 12:15:18 PM UTC-4, ha...@arne.me wrote: > > Hey, I just released a Go Styleguide > <https://github.com/bahlo/go-styleguide>, please let me know what you > think! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.