goworkspace

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package goworkspace keeps project Go commands from being captured by an unrelated enclosing workspace.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsolateUnlistedModule

func IsolateUnlistedModule(directory string, environment []string) []string

IsolateUnlistedModule returns environment with GOWORK disabled when the active workspace does not list the module containing directory. Listed modules retain the caller's workspace so deliberate local replacements keep working.

Types

This section is empty.

Jump to

Keyboard shortcuts

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