| 25 | ) |
| 26 | |
| 27 | type HTTPGetter interface { |
| 28 | Get(location string) (*http.Response, error) |
| 29 | } |
| 30 | |
| 31 | func FetchDevWorkspaceTemplate(location string, httpClient HTTPGetter) (*dw.DevWorkspaceTemplateSpec, error) { |
| 32 | resp, err := httpClient.Get(location) |
no outgoing calls
no test coverage detected