go-io/workspace/doc.go
Virgil eab112c7cf refactor(workspace): accept declarative root and medium options
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 13:20:09 +00:00

9 lines
432 B
Go

// Example: service, _ := workspace.New(workspace.Options{
// Example: KeyPairProvider: keyPairProvider,
// Example: RootPath: "/srv/workspaces",
// Example: Medium: io.NewMemoryMedium(),
// Example: })
// Example: workspaceID, _ := service.CreateWorkspace("alice", "pass123")
// Example: _ = service.SwitchWorkspace(workspaceID)
// Example: _ = service.WriteWorkspaceFile("notes/todo.txt", "ship it")
package workspace