News for hackers. Stuff that matters.
Re:Decorators in Go using embedded structs by pram on Wednesday October 23, 2019 @01:48PM (#21337022)
A small critique on your examples: you never actually show using the Client interface anywhere. Might be useful to someone new to see how you'd switch out HTTPClient for CachedHTTPClient using it.
Re:Decorators in Go using embedded structs by fabianlindfors on Wednesday October 23, 2019 @01:53PM (#21337072)
Good point, thank you!