replace

package
v0.0.102 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(dir string) (absDir string, modulePath string, err error)

Replace checks if the given directory exists and contains a valid Go module, returns the absolute path of the directory and the module path

func ReplaceAll added in v0.0.90

func ReplaceAll() error

ReplaceAll reads the config, gets the LocalModules list, and adds replace directives for dependencies

Types

This section is empty.

Jump to

Keyboard shortcuts

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