remove unused and rename
This commit is contained in:
@@ -7,8 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type Proxy struct {
|
||||
To string
|
||||
BOAuthZ bool
|
||||
To string
|
||||
}
|
||||
|
||||
func parseProxy(s string) (string, Proxy) {
|
||||
@@ -21,9 +20,6 @@ func parseProxy(s string) (string, Proxy) {
|
||||
if len(l) > 1 {
|
||||
p.To = l[1]
|
||||
}
|
||||
if len(l) > 2 {
|
||||
p.BOAuthZ = l[2] == "true"
|
||||
}
|
||||
return key, p
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user