(ctx context.Context)
| 1207 | } |
| 1208 | |
| 1209 | func (ws *WshServer) CheckGoVersionCommand(ctx context.Context) (*wshrpc.CommandCheckGoVersionRtnData, error) { |
| 1210 | watcher := wconfig.GetWatcher() |
| 1211 | fullConfig := watcher.GetFullConfig() |
| 1212 | goPath := fullConfig.Settings.TsunamiGoPath |
| 1213 | |
| 1214 | result := build.CheckGoVersion(goPath) |
| 1215 | |
| 1216 | return &wshrpc.CommandCheckGoVersionRtnData{ |
| 1217 | GoStatus: result.GoStatus, |
| 1218 | GoPath: result.GoPath, |
| 1219 | GoVersion: result.GoVersion, |
| 1220 | ErrorString: result.ErrorString, |
| 1221 | }, nil |
| 1222 | } |
| 1223 | |
| 1224 | func (ws *WshServer) PublishAppCommand(ctx context.Context, data wshrpc.CommandPublishAppData) (*wshrpc.CommandPublishAppRtnData, error) { |
| 1225 | publishedAppId, err := waveappstore.PublishDraft(data.AppId) |
nothing calls this directly
no test coverage detected