Help us shape the future of Go! Take the 2026 Go Developer Survey

diagnostics

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	StartupInfo(ctx context.Context) (ulspplugin.PluginInfo, error)
	// ResetBase resets the base for a given document.
	ApplyDiagnostics(ctx context.Context, workspaceRoot string, URI uri.URI, diagnostic []*protocol.Diagnostic) error
}

Controller defines the interface for a document sync controller.

func New

func New(p Params) Controller

New creates a new controller for document sync.

type Params

type Params struct {
	fx.In

	Sessions   session.Repository
	IdeGateway ideclient.Gateway
	Logger     *zap.SugaredLogger
	Stats      tally.Scope
	Config     config.Provider
}

Params are inbound parameters to initialize a new plugin.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL