TODO: mandatory design prof http port is service port+1
(addr string)
| 353 | |
| 354 | // TODO: mandatory design prof http port is service port+1 |
| 355 | func addr2Prof(addr string) string { |
| 356 | arr := strings.SplitN(addr, ":", 2) |
| 357 | p, _ := strconv.ParseUint(arr[1], 10, 64) |
| 358 | return fmt.Sprintf("%s:%d", arr[0], p+1) |
| 359 | } |
no outgoing calls
no test coverage detected