If Logger was an interface it would be pretty large and to some extent
application-specific, which is undesirable.
Instead inject the sink (io.Writer).
This is preferable in every way:
* the interface is small and universal
* it eliminates the coupling with any specific library present and futu
The VSCode Go Plugin joining the Go project
(https://blog.golang.org/vscode-go) was certainly great news.
Is it possible that something similar might happen with the popular vim-go
plugin (https://github.com/fatih/vim-go)?
--
You received this message because you are subscribed to the Google G