Debian Codegraph @

internal/golangorgx/gopls/test/integration/fake/doc.go

raw
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 a fake implementation of an LSP-enabled
6 // text editor, its LSP client plugin, and a Sandbox environment for
7 // use in integration tests.
8 //
9 // The Editor type provides a high level API for text editor operations
10 // (open/modify/save/close a buffer, jump to definition, etc.), and the Client
11 // type exposes an LSP client for the editor that can be connected to a
12 // language server. By default, the Editor and Client should be compliant with
13 // the LSP spec: their intended use is to verify server compliance with the
14 // spec in a variety of environment. Possible future enhancements of these
15 // types may allow them to misbehave in configurable ways, but that is not
16 // their primary use.
17 //
18 // The Sandbox type provides a facility for executing tests with a temporary
19 // directory, module proxy, and GOPATH.
20 package fake