By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun: Reader, Writer, Formatter, CloseNotifier etc. https://golang.org/doc/effective_go.html#interface-names
By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun: Reader, Writer, Formatter, CloseNotifier etc. https://golang.org/doc/effective_go.html#interface-names
О, спасибо! Я вот это и читал... просто забыл где)
By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun: Reader, Writer, Formatter, CloseNotifier etc. https://golang.org/doc/effective_go.html#interface-names