mirror of
https://github.com/golang/go
synced 2024-11-18 22:34:45 -07:00
ff3f684ce0
This is not intended to be a user friendly package, just the rawest correct implemenation of the protocol as a building block Change-Id: Ib672b7f1e2fd8284be422dc7964f1876e94c9578 Reviewed-on: https://go-review.googlesource.com/136676 Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
21 lines
528 B
Go
21 lines
528 B
Go
// 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.
|
|
|
|
// This file contains the corresponding structures to the
|
|
// "Diagnostics" part of the LSP specification.
|
|
|
|
package protocol
|
|
|
|
type PublishDiagnosticsParams struct {
|
|
/**
|
|
* The URI for which diagnostic information is reported.
|
|
*/
|
|
URI DocumentURI `json:"uri"`
|
|
|
|
/**
|
|
* An array of diagnostic information items.
|
|
*/
|
|
Diagnostics []Diagnostic `json:"diagnostics"`
|
|
}
|