update types

This commit is contained in:
2025-09-04 23:00:57 +04:00
parent 81383d1ea7
commit 7e89fa174b
10 changed files with 466 additions and 20 deletions

View File

@@ -13,8 +13,8 @@ func (proxy Proxy) String() string {
type Proxies []Proxy
func (proxies *Proxies) Append(proxy Proxy) {
*proxies = append(*proxies, proxy)
func (proxies *Proxies) Append(proxy ...Proxy) {
*proxies = append(*proxies, proxy...)
}
func (proxies *Proxies) Parse(rawValue string) error {