[MM-20723] Add golint for plugin package to golangci (#13090)

This commit is contained in:
Ben Schumacher
2019-12-05 20:31:53 +01:00
committed by GitHub
parent d12bf77f53
commit 5122b9e292
12 changed files with 117 additions and 115 deletions

View File

@@ -83,8 +83,8 @@ func (w *httpResponseWriterRPCClient) WriteHeader(statusCode int) {
w.client.Call("Plugin.WriteHeader", statusCode, nil)
}
func (h *httpResponseWriterRPCClient) Close() error {
return h.client.Close()
func (w *httpResponseWriterRPCClient) Close() error {
return w.client.Close()
}
func connectHTTPResponseWriter(conn io.ReadWriteCloser) *httpResponseWriterRPCClient {