19 lines
255 B
Go
19 lines
255 B
Go
|
package main
|
||
|
|
||
|
type CommandSet struct {
|
||
|
Name string
|
||
|
Exec string
|
||
|
Inplace bool
|
||
|
Dynamic string
|
||
|
Commands []*CommandSet
|
||
|
|
||
|
// internal state
|
||
|
completed bool
|
||
|
}
|
||
|
|
||
|
type SearchResult struct {
|
||
|
Search string
|
||
|
Error string
|
||
|
Commands []*CommandSet
|
||
|
}
|