lsp/internal: fix incorrectly formatted file
Change-Id: Ibef9c7d5ce0abfa26ba98744c26b54d843227c23
Reviewed-on: https://go-review.googlesource.com/c/162077
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
diff --git a/internal/lsp/cmd/serve.go b/internal/lsp/cmd/serve.go
index 6701386..2bf79f7 100644
--- a/internal/lsp/cmd/serve.go
+++ b/internal/lsp/cmd/serve.go
@@ -11,11 +11,11 @@
"fmt"
"io"
"log"
+ "net"
"os"
"path/filepath"
"strings"
"time"
- "net"
"golang.org/x/tools/internal/jsonrpc2"
"golang.org/x/tools/internal/lsp"
@@ -28,7 +28,7 @@
Logfile string `flag:"logfile" help:"filename to log to. if value is \"auto\", then logging to a default output file is enabled"`
Mode string `flag:"mode" help:"no effect"`
Port int `flag:"port" help:"port on which to run gopls for debugging purposes"`
- Address string `flag:"listen" help:"address on which to listen for remote connections"`
+ Address string `flag:"listen" help:"address on which to listen for remote connections"`
app *Application
}
@@ -129,7 +129,6 @@
return lsp.RunServer(ctx, stream, logger)
}
-
func (s *Serve) forward() error {
conn, err := net.Dial("tcp", s.app.Remote)
if err != nil {