Versions in this module Expand all Collapse all v0 v0.5.0 Jan 20, 2022 Changes in this version + func Run(ctx context.Context, cfg RunConfig) (err error) + type Conn struct + func (c Conn) Close() error + func (c Conn) Start() error + type DocumentSymbol struct + Children []DocumentSymbol + Deprecated bool + Detail string + Kind lsp.SymbolKind + Name string + Range lsp.Range + SelectionRange lsp.Range + Tags []SymbolTag + type GoplsClient struct + func (c *GoplsClient) Call(ctx context.Context, method string, params, result interface{}) error + func (c *GoplsClient) Close() error + func (c *GoplsClient) Read(ctx context.Context, candidate uint64, respChan chan<- response) error + func (c *GoplsClient) Write(r request) error + func (s *GoplsClient) DocumentReferences(ctx context.Context, loc lsp.Location) ([]*lsp.Location, error) + func (s *GoplsClient) DocumentSymbol(ctx context.Context, filename string) ([]*Symbol, error) + func (s *GoplsClient) Initialize(ctx context.Context, params *lsp.InitializeParams) (*lsp.InitializeResult, error) + func (s *GoplsClient) Initialized(ctx context.Context) error + type InitializedParams struct + type RunConfig struct + FilenamePattern string + Out io.Writer + WorkspaceDir string + type Symbol struct + Children []*Symbol + Kind lsp.SymbolKind + Location lsp.Location + Name string + type SymbolTag float64