cmd

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Run App

func GetCmdNameMap added in v0.1.5

func GetCmdNameMap() map[string]struct{}

GetCmdNameMap 获取所有自定义的命令

Types

type Version

type Version struct {
	Version string         // 版本号
	Stable  bool           // 是否为稳定版本
	Files   []*VersionFile // 版本对应的文件列表
}

Version go官网返回的版本信息

type VersionFile

type VersionFile struct {
	FileName string // 文件名称
	OS       string // 操作系统
	Arch     string // 系统架构
	Version  string // 版本号
	Sha256   string // sha256
	Size     int64  // 文件大小
	Kind     string // 发布类型(archive压缩包)
}

VersionFile 版本对应的文件信息

Jump to

Keyboard shortcuts

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