mirror of
https://github.com/golang/go
synced 2024-11-18 09:04:49 -07:00
cmd/gopls: delete legacy gopls
gopls should always be built in module mode from the gopls module. I don't think that anyone is relying on this anymore, and we should stop allowing users to build gopls from within the tools module. Change-Id: I7dea4339d4c8ffc4ca168e679b810be743e5f92c Reviewed-on: https://go-review.googlesource.com/c/tools/+/212520 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
This commit is contained in:
parent
819aba5d6d
commit
8647d4c879
@ -1,23 +0,0 @@
|
||||
// Copyright 2018 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// The gopls command is an LSP server for Go.
|
||||
// The Language Server Protocol allows any text editor
|
||||
// to be extended with IDE-like features;
|
||||
// see https://langserver.org/ for details.
|
||||
package main // import "golang.org/x/tools/cmd/gopls"
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
|
||||
"golang.org/x/tools/internal/lsp/cmd"
|
||||
"golang.org/x/tools/internal/lsp/debug"
|
||||
"golang.org/x/tools/internal/tool"
|
||||
)
|
||||
|
||||
func main() {
|
||||
debug.Version += "-cmd.gopls"
|
||||
tool.Main(context.Background(), cmd.New("gopls-legacy", "", nil, nil), os.Args[1:])
|
||||
}
|
Loading…
Reference in New Issue
Block a user