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

upload

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package upload implements the release upload command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUpload

func NewCmdUpload(f *cmdutil.Factory, runF func(*UploadOptions) error) *cobra.Command

NewCmdUpload creates the upload command

Types

type UploadOptions

type UploadOptions struct {
	IO         *iostreams.IOStreams
	HttpClient func() (*http.Client, error)

	// Arguments
	TagName string
	Files   []string

	// Flags
	Repository string
	Label      string
}

Source Files

  • upload.go

Jump to

Keyboard shortcuts

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