I've done that a few rare times, and I think in some case it makes a clean solution. See [1] for an example.
However I don't think that's how people should do _all of the time_ when they try to force an OO model onto Go.
[1]: https://github.com/aybabtme/loghooks/blob/master/hooks.go#L2...
I've done that a few rare times, and I think in some case it makes a clean solution. See [1] for an example.
However I don't think that's how people should do _all of the time_ when they try to force an OO model onto Go.
[1]: https://github.com/aybabtme/loghooks/blob/master/hooks.go#L2...