(ctx context.Context, windowId string)
| 70 | } |
| 71 | |
| 72 | func GetWindow(ctx context.Context, windowId string) (*waveobj.Window, error) { |
| 73 | window, err := wstore.DBMustGet[*waveobj.Window](ctx, windowId) |
| 74 | if err != nil { |
| 75 | log.Printf("error getting window %q: %v\n", windowId, err) |
| 76 | return nil, err |
| 77 | } |
| 78 | return window, nil |
| 79 | } |
| 80 | |
| 81 | func CreateWindow(ctx context.Context, winSize *waveobj.WinSize, workspaceId string) (*waveobj.Window, error) { |
| 82 | log.Printf("CreateWindow %v %v\n", winSize, workspaceId) |
no test coverage detected