gotool

package
v1.0.4 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gotool locates the Go toolchain used by LLGo compatibility commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChildEnv

func ChildEnv(environ []string) []string

ChildEnv marks a subprocess as the real Go tool invocation. The Go command ignores this private variable, while an LLGo binary or wrapper reached by mistake fails promptly instead of recursively spawning more processes.

func Find

func Find(self, pathEnv string) (string, error)

Find returns a real Go executable from an absolute PATH entry. Links to the running LLGo executable are skipped. The child guard also stops recursion through a copied binary or wrapper that invokes LLGo again as "go".

Types

This section is empty.

Jump to

Keyboard shortcuts

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