create surround parameter on type Variant

This commit is contained in:
Baipyrus 2024-09-23 18:42:14 +02:00
parent 78cd3f1734
commit ff6a82e0f2
2 changed files with 3 additions and 0 deletions

View File

@ -7,11 +7,13 @@
"args": [ "args": [
"http_proxy" "http_proxy"
], ],
"surround": "\"",
"type": "variable" "type": "variable"
}, { }, {
"args": [ "args": [
"https_proxy" "https_proxy"
], ],
"surround": "\"",
"type": "variable" "type": "variable"
} }
], ],

View File

@ -18,6 +18,7 @@ type Variant struct {
Arguments []string `json:"args"` Arguments []string `json:"args"`
Type VariantType `json:"type,omitempty"` Type VariantType `json:"type,omitempty"`
Equator string `json:"equator,omitempty"` Equator string `json:"equator,omitempty"`
Surround string `json:"surround,omitempty"`
DiscardProxy bool `json:"discard,omitempty"` DiscardProxy bool `json:"discard,omitempty"`
} }