(t string)
| 657 | var timezoneRE = regexp.MustCompile(`(?m)^> Time-Zone: .+`) |
| 658 | |
| 659 | func normalizeVerboseLog(t string) string { |
| 660 | t = requestAtRE.ReplaceAllString(t, "* Request at <time>") |
| 661 | t = hostWithPortRE.ReplaceAllString(t, "<host>:<port>") |
| 662 | t = dateRE.ReplaceAllString(t, "< Date: <time>") |
| 663 | t = durationRE.ReplaceAllString(t, "* Request took <duration>") |
| 664 | t = timezoneRE.ReplaceAllString(t, "> Time-Zone: <timezone>") |
| 665 | return t |
| 666 | } |
no outgoing calls
no test coverage detected