diff --git a/internal/lsp/cmd/cmd.go b/internal/lsp/cmd/cmd.go index e1346e3e2e..f36311bc4c 100644 --- a/internal/lsp/cmd/cmd.go +++ b/internal/lsp/cmd/cmd.go @@ -71,7 +71,7 @@ type Application struct { PrepareOptions func(*source.Options) } -// Returns a new Application ready to run. +// New returns a new Application ready to run. func New(name, wd string, env []string, options func(*source.Options)) *Application { if wd == "" { wd, _ = os.Getwd() diff --git a/internal/lsp/cmd/symbols.go b/internal/lsp/cmd/symbols.go index 4198772160..41cc0f7513 100644 --- a/internal/lsp/cmd/symbols.go +++ b/internal/lsp/cmd/symbols.go @@ -15,7 +15,7 @@ import ( "golang.org/x/tools/internal/tool" ) -// references implements the references verb for gopls +// symbols implements the symbols verb for gopls type symbols struct { app *Application }