Method
buildResp
(code int, message string, data interface{})
Source from the content-addressed store, hash-verified
| 157 | } |
| 158 | |
| 159 | func (h *HttpServer) buildResp(code int, message string, data interface{}) *ResponseData { |
| 160 | return &ResponseData{ |
| 161 | Code: code, |
| 162 | Message: message, |
| 163 | Data: data, |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | func (h *HttpServer) openDirectoryDialog(w http.ResponseWriter, r *http.Request) { |
| 168 | folder, err := runtime.OpenDirectoryDialog(appOnce.ctx, runtime.OpenDialogOptions{ |
Tested by
no test coverage detected