()
| 27 | } |
| 28 | |
| 29 | func Client() *client { |
| 30 | return &client{ |
| 31 | host: envir.GetValueOrDefault(envir.DevboxSearchHost, searchAPIEndpoint), |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | func (c *client) Search(ctx context.Context, query string) (*SearchResults, error) { |
| 36 | if query == "" { |
no test coverage detected