23 lines
480 B
Go
23 lines
480 B
Go
package model
|
|
|
|
import aw "github.com/deanishe/awgo"
|
|
|
|
type Item struct {
|
|
Title string
|
|
Subtitle *string
|
|
Match *string
|
|
UID *string
|
|
Autocomplete *string
|
|
Arg []string
|
|
Valid bool
|
|
File bool
|
|
Copytext *string
|
|
LargeType *string
|
|
QL *string
|
|
Vars map[string]string
|
|
Mods map[string]*aw.Modifier
|
|
Actions map[string][]string
|
|
Icon *aw.Icon
|
|
NoUID bool // Suppress UID in JSON
|
|
}
|