mirror of
https://github.com/aykhans/dodo.git
synced 2025-09-05 18:44:21 +00:00
update types
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user