3 ms·
You could, but this is not Go's convention. Go's convention is that when you have an interface with a single method "x", you name the interface "xer". This ha
by jonahx 3y ago
You could, but this is not Go's convention. Go's convention is that when you have an interface with a single method "x", you name the interface "xer".
This has the advantage of being simple and mnemonic. It has the downside I already mentioned.