cli

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidModuleVersion = errors.New("invalid module version")
	ErrFailedStatusCode     = errors.New("failed status code")
	ErrGoModExistToolchain  = errors.New("go mod exist toolchain")
)

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(
	ghClient *github.Client,
) *App

func (*App) Run

func (a *App) Run(ctx context.Context)

type GitHubRepoData added in v0.6.0

type GitHubRepoData struct {
	LastCommitAt time.Time
	Name         string
	StarCount    int
}

type GoMod added in v0.8.0

type GoMod struct {
	Module    ModPath
	Go        string
	Toolchain string
}

https://pkg.go.dev/cmd/go#hdr-Edit_go_mod_from_tools_or_scripts

type ModPath added in v0.8.0

type ModPath struct {
	Path       string
	Deprecated string
}

type Module

type Module struct {
	Update   *Module
	Replace  *Module
	Path     string
	Version  string
	Main     bool
	Indirect bool
}

See https://pkg.go.dev/cmd/go#hdr-List_packages_or_modules

Jump to

Keyboard shortcuts

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