go-io/workspace/doc.go
Virgil a8eaaa1581
Some checks failed
CI / auto-fix (push) Failing after 0s
CI / test (push) Failing after 3s
CI / auto-merge (push) Failing after 0s
refactor(ax): tighten AX-facing docs
2026-03-30 21:29:35 +00:00

7 lines
352 B
Go

// Package workspace creates encrypted workspaces on top of io.Medium.
//
// service, _ := workspace.New(workspace.Options{Core: core.New(), Crypt: cryptProvider})
// workspaceID, _ := service.CreateWorkspace("alice", "pass123")
// _ = service.SwitchWorkspace(workspaceID)
// _ = service.WorkspaceFileSet("notes/todo.txt", "ship it")
package workspace