func LoginGET(ctx context.Context, w http.ResponseWriter, r *http.Request, webui services.WebUIClient) { resp, err := webui.LoginGET(ctx, new(records.LoginGETRequest)) if err != nil { http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError) return } resp.ServeHTTP(w, r) }