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

factory

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONRPCRequest

func JSONRPCRequest(method string, params interface{}) jsonrpc2.Request

JSONRPCRequest is a user-defined factory for a JSON-RPC request containing the specified method and parameters.

func PluginInfoInvalid

func PluginInfoInvalid(id int) ulspplugin.PluginInfo

PluginInfoInvalid is a factory for PluginInfo that fails validation.

func PluginInfoValid

func PluginInfoValid(id int) ulspplugin.PluginInfo

PluginInfoValid is a factory for PluginInfo that passes validation.

func Range

func Range() protocol.Range

Range returns a random protocol.Range.

func UUID

func UUID() uuid.UUID

UUID is a user-defined factory for a random uuid.UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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