Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools / gopls@v0.5.2 / main.go
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // The gopls command is an LSP server for Go.
6 // The Language Server Protocol allows any text editor
7 // to be extended with IDE-like features;
8 // see https://langserver.org/ for details.
9 //
10 // See https://github.com/golang/tools/tree/master/gopls
11 // for the most up-to-date information on the gopls status.
12 package main // import "golang.org/x/tools/gopls"
13
14 import (
15         "context"
16         "os"
17
18         "golang.org/x/tools/gopls/internal/hooks"
19         "golang.org/x/tools/internal/lsp/cmd"
20         "golang.org/x/tools/internal/tool"
21 )
22
23 func main() {
24         ctx := context.Background()
25         tool.Main(ctx, cmd.New("gopls", "", nil, hooks.Options), os.Args[1:])
26 }