toolchain

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package toolchain locates external developer tools jade shells out to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gopls

func Gopls() (string, bool)

Gopls returns the path to the gopls binary and whether it was found.

PATH alone is not enough: gopls is installed with `go install golang.org/x/tools/gopls@latest`, which writes to GOBIN or $GOPATH/bin, and neither is on PATH by default on a stock macOS or Linux setup. Treating "not on PATH" as "not installed" makes jade report gopls as unavailable on machines where the user has installed it exactly as the Go documentation instructs — which is precisely what happened on this repo's own development machine.

The result is cached: the answer cannot change within a process, and the lookup would otherwise run on every diagnostic, reference and rename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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