(scheme, host, path, query string)
| 548 | } |
| 549 | |
| 550 | func (s *MessageSuite) withURL(scheme, host, path, query string) { |
| 551 | s.ctx.Request.URL = &url.URL{Path: path, RawQuery: query} |
| 552 | s.ctx.Set("location", &url.URL{Scheme: scheme, Host: host}) |
| 553 | } |
| 554 | |
| 555 | func intPtr(x int) *int { |
| 556 | return &x |
no outgoing calls
no test coverage detected