(target io.Writer, domains ...string)
| 50 | </ProxifierProfile>`)) |
| 51 | |
| 52 | func proxifier(target io.Writer, domains ...string) error { |
| 53 | d := make([]string, len(domains)) |
| 54 | for i := range domains { |
| 55 | d[i] = "*" + domains[i] |
| 56 | } |
| 57 | |
| 58 | return xmlTmpl.Execute(target, strings.Join(d, ";")) |
| 59 | } |
nothing calls this directly
no outgoing calls
no test coverage detected