go-advice
go-advice copied to clipboard
Separate advices from tricks
Repo name is go advice so I was thinking these are advices. But repo description says advice and tricks.
For example, is this an advice?
- [ ] check interface implementation during compilation
var _ io.Reader = (*MyFastReader)(nil)
Or does it just mean "if you need to check interface implementation during compilation, then do this", if so this makes it a trick, not an advice.
Unfortunately I'm not sure which is which so I can't open a PR. But IMO there should be a separation.