16 lines
212 B
Go
16 lines
212 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
// Command 命令相关
|
|
type Command struct {
|
|
commands string
|
|
commandTime time.Time
|
|
}
|
|
|
|
// NewCommand 生成一个命令
|
|
func NewCommand() *Command {
|
|
c := &Command{}
|
|
return c
|
|
}
|