Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name is the name of the compiled software. Name string // Version is the version of the compiled software. Version string )
go build -ldflags "-X main.Version=x.y.z"
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct {
Name string `json:"name"`
BrowserDownloadURL string `json:"browser_download_url"`
}
Asset 发布资源结构
type CallGraphCommand ¶
type CallGraphCommand struct {
cmdbase.BaseCommand
// contains filtered or unexported fields
}
CallGraphCommand 调用图命令
type ConfigCommand ¶ added in v1.1.6
type ConfigCommand struct {
cmdbase.BaseCommand
// contains filtered or unexported fields
}
ConfigCommand 配置文件命令
func NewConfigCommand ¶ added in v1.1.6
func NewConfigCommand() *ConfigCommand
NewConfigCommand 创建配置文件命令
type GitCommand ¶
type GitCommand struct {
cmdbase.BaseCommand
}
GitCommand Git集成命令
func (*GitCommand) ExecGitCommand ¶
func (g *GitCommand) ExecGitCommand(args ...string) ([]byte, error)
ExecGitCommand 执行一个git命令
type GitHubRelease ¶
GitHubRelease GitHub发布信息结构
type MRCommand ¶
type MRCommand struct {
cmdbase.BaseCommand
// contains filtered or unexported fields
}
MRCommand MR分析命令
type RewriteCommand ¶
type RewriteCommand struct {
cmdbase.BaseCommand
// contains filtered or unexported fields
}
RewriteCommand 代码重写命令
type ServerCommand ¶
type ServerCommand struct {
cmdbase.BaseCommand
Name string
Version string
// contains filtered or unexported fields
}
ServerCommand 服务器命令
type SyncCommand ¶
type SyncCommand struct {
cmdbase.BaseCommand
// contains filtered or unexported fields
}
SyncCommand 同步前端代码命令
Click to show internal directories.
Click to hide internal directories.