update

package
v0.0.86 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoModDropReplace added in v0.0.85

func GoModDropReplace(modulePath string) error

GoModDropReplace drops a replacement directive from go.mod

func GoModEditRequire added in v0.0.85

func GoModEditRequire(modulePath, version string) error

GoModEditRequire updates the module version in go.mod using go mod edit -require

func Update

func Update(dir string) error

func UpdateAll added in v0.0.85

func UpdateAll() error

Types

type GoMod

type GoMod struct {
	Module struct {
		Path string `json:"Path"`
	} `json:"Module"`
}

Jump to

Keyboard shortcuts

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