Help us shape the future of Go! Take the 2026 Go Developer Survey

update

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpdateCmd

func NewUpdateCmd() *cobra.Command

NewUpdateCmd creates a new update command.

Types

type UpdateCmd

type UpdateCmd struct {
	Version string
	Channel string
	DryRun  bool
}

UpdateCmd is a struct that defines a command call for "update".

Jump to

Keyboard shortcuts

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