Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / fake / doc.go
1 // Copyright 2020 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 // Package fake provides fake implementations of a text editor, LSP client
6 // plugin, and Sandbox environment for use in tests.
7 //
8 // The Editor type provides a high level API for text editor operations
9 // (open/modify/save/close a buffer, jump to definition, etc.), and the Client
10 // type exposes an LSP client for the editor that can be connected to a
11 // language server. By default, the Editor and Client should be compliant with
12 // the LSP spec: their intended use is to verify server compliance with the
13 // spec in a variety of environment. Possible future enhancements of these
14 // types may allow them to misbehave in configurable ways, but that is not
15 // their primary use.
16 //
17 // The Sandbox type provides a facility for executing tests with a temporary
18 // directory, module proxy, and GOPATH.
19 package fake