(t string)
| 717 | var timezoneRE = regexp.MustCompile(`(?m)^> Time-Zone: .+`) |
| 718 | |
| 719 | func normalizeVerboseLog(t string) string { |
| 720 | t = requestAtRE.ReplaceAllString(t, "* Request at <time>") |
| 721 | t = hostWithPortRE.ReplaceAllString(t, "<host>:<port>") |
| 722 | t = dateRE.ReplaceAllString(t, "< Date: <time>") |
| 723 | t = durationRE.ReplaceAllString(t, "* Request took <duration>") |
| 724 | t = timezoneRE.ReplaceAllString(t, "> Time-Zone: <timezone>") |
| 725 | return t |
| 726 | } |
no outgoing calls
no test coverage detected