增加喜用命令执行
This commit is contained in:
20
define/result.go
Normal file
20
define/result.go
Normal file
@ -0,0 +1,20 @@
|
||||
// Package define ...
|
||||
//
|
||||
// Description : define ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2022-05-20 22:00
|
||||
package define
|
||||
|
||||
// Result 执行结果
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 22:00 2022/5/20
|
||||
type Result struct {
|
||||
Err error // 异常信息
|
||||
Output []byte // 输出的内容
|
||||
StartTime int64 // 开始时间
|
||||
FinishTime int64 // 完成时间
|
||||
}
|
Reference in New Issue
Block a user