test

package
v1.19.0-rc.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModuleRoot

func GetModuleRoot() (string, error)

GetModuleRoot returns the path to the root of the go module

func PrependToPath

func PrependToPath(additionalPaths ...string) string

PrependToPath prefixes the specified additional paths to the PATH environment variable

func StripRoot added in v1.19.0

func StripRoot[T any](v T, root string) T

Strip root is used to remove the specified root from the string representation of any type.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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