Documentation
¶
Overview ¶
Code generated by framework generate. DO NOT EDIT.
Package main runs the MyGo framework reference application.
Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
bootstrap
Package bootstrap owns application provider registration and composition.
|
Package bootstrap owns application provider registration and composition. |
|
desktop
Code generated by framework generate.
|
Code generated by framework generate. |
|
mcp
Code generated by framework generate.
|
Code generated by framework generate. |
|
models
Package models contains the reference application's persistence models.
|
Package models contains the reference application's persistence models. |
|
profile
Package profile resolves the application's shared on-disk paths.
|
Package profile resolves the application's shared on-disk paths. |
|
requests
Package requests defines validated application-service inputs.
|
Package requests defines validated application-service inputs. |
|
services
Package services contains the application's transport-independent features.
|
Package services contains the application's transport-independent features. |
|
ui
Package ui adapts committed application changes to MyGo pages.
|
Package ui adapts committed application changes to MyGo pages. |
|
cmd
|
|
|
appctl
command
Command appctl maintains the application while its desktop process is closed.
|
Command appctl maintains the application while its desktop process is closed. |
|
framework
command
Command framework manages MyGo framework projects.
|
Command framework manages MyGo framework projects. |
|
Package database owns the application's shared SQLite connection pool.
|
Package database owns the application's shared SQLite connection pool. |
|
migrations
Package migrations embeds the reference application's SQL migration history.
|
Package migrations embeds the reference application's SQL migration history. |
|
Package diagnostics writes the support bundle a user can send with a bug report: versions, migration status and recent logs in one zip file.
|
Package diagnostics writes the support bundle a user can send with a bug report: versions, migration status and recent logs in one zip file. |
|
Package errorreport sends unexpected errors and panics to Sentry.
|
Package errorreport sends unexpected errors and panics to Sentry. |
|
examples
|
|
|
native
command
Native demonstrates a Onevra window with retained state and framework settings.
|
Native demonstrates a Onevra window with retained state and framework settings. |
|
report
command
Report writes a one-page PDF with a table and a line chart using pdfreport.
|
Report writes a one-page PDF with a table and a line chart using pdfreport. |
|
timechart
command
Timechart demonstrates linked time-series charts over a night of 25 Hz recordings.
|
Timechart demonstrates linked time-series charts over a night of 25 Hz recordings. |
|
Package httpclient configures Resty for outbound application requests.
|
Package httpclient configures Resty for outbound application requests. |
|
internal
|
|
|
appctl
Package appctl defines offline commands for the reference application.
|
Package appctl defines offline commands for the reference application. |
|
cli
Package cli defines the framework command-line interface.
|
Package cli defines the framework command-line interface. |
|
generator
Package generator discovers and generates framework-owned adapters.
|
Package generator discovers and generates framework-owned adapters. |
|
generator/_native
command
Native demonstrates a Onevra window with retained state and framework settings.
|
Native demonstrates a Onevra window with retained state and framework settings. |
|
generator/_template
command
Code generated by framework generate.
|
Code generated by framework generate. |
|
generator/_template/app/bootstrap
Package bootstrap owns application provider registration and composition.
|
Package bootstrap owns application provider registration and composition. |
|
generator/_template/app/desktop
Code generated by framework generate.
|
Code generated by framework generate. |
|
generator/_template/app/mcp
Code generated by framework generate.
|
Code generated by framework generate. |
|
generator/_template/app/models
Package models contains the reference application's persistence models.
|
Package models contains the reference application's persistence models. |
|
generator/_template/app/profile
Package profile resolves the application's shared on-disk paths.
|
Package profile resolves the application's shared on-disk paths. |
|
generator/_template/app/requests
Package requests defines validated application-service inputs.
|
Package requests defines validated application-service inputs. |
|
generator/_template/app/services
Package services contains the application's transport-independent features.
|
Package services contains the application's transport-independent features. |
|
generator/_template/app/ui
Package ui adapts committed application changes to MyGo pages.
|
Package ui adapts committed application changes to MyGo pages. |
|
generator/_template/cmd/appctl
command
Command appctl maintains the application while its desktop process is closed.
|
Command appctl maintains the application while its desktop process is closed. |
|
generator/_template/database/migrations
Package migrations embeds the reference application's SQL migration history.
|
Package migrations embeds the reference application's SQL migration history. |
|
generator/_template/internal/appctl
Package appctl defines offline commands for the reference application.
|
Package appctl defines offline commands for the reference application. |
|
secretstest
Package secretstest defines the common SecretStore behavior checks.
|
Package secretstest defines the common SecretStore behavior checks. |
|
settingstest
Package settingstest defines the common persistence contract for settings adapters.
|
Package settingstest defines the common persistence contract for settings adapters. |
|
Package jobs runs named background jobs with progress, cancellation, and completion events.
|
Package jobs runs named background jobs with progress, cancellation, and completion events. |
|
Package logging configures the application's structured logs.
|
Package logging configures the application's structured logs. |
|
Package pdfreport writes small business-style PDF reports: headings, text, tables and line charts under a page header and footer.
|
Package pdfreport writes small business-style PDF reports: headings, text, tables and line charts under a page header and footer. |
|
Package problem defines transport-independent application failures.
|
Package problem defines transport-independent application failures. |
|
Package profiles keeps each named profile's data in its own SQLite file under the data directory.
|
Package profiles keeps each named profile's data in its own SQLite file under the data directory. |
|
Package runtime coordinates application startup and shutdown state.
|
Package runtime coordinates application startup and shutdown state. |
|
Package secrets defines framework-neutral access to OS-protected secrets.
|
Package secrets defines framework-neutral access to OS-protected secrets. |
|
memory
Package memory provides an in-memory SecretStore for tests.
|
Package memory provides an in-memory SecretStore for tests. |
|
mygo
Package mygo adapts MyGo Secrets to the framework-neutral SecretStore.
|
Package mygo adapts MyGo Secrets to the framework-neutral SecretStore. |
|
Package settings provides typed access to JSON-backed application settings.
|
Package settings provides typed access to JSON-backed application settings. |
|
bbolt
Package bbolt provides an optional owning settings store backed by bbolt.
|
Package bbolt provides an optional owning settings store backed by bbolt. |
|
sqlite
Package sqlite persists settings in the application's shared SQLite pool.
|
Package sqlite persists settings in the application's shared SQLite pool. |
|
Package state provides observable values for UI and application state: cells that notify subscribers, derived selections, and debounced autosave.
|
Package state provides observable values for UI and application state: cells that notify subscribers, derived selections, and debounced autosave. |
|
Package timechart draws continuous time-series charts in native UI: a time or numeric x-axis with clock-aligned ticks, zoom at the cursor, drag pan, double-click reset, line, step and min/max band series, event markers and a hover crosshair with a readout.
|
Package timechart draws continuous time-series charts in native UI: a time or numeric x-axis with clock-aligned ticks, zoom at the cursor, drag pan, double-click reset, line, step and min/max band series, event markers and a hover crosshair with a readout. |
|
Package validation maps validator failures to application problems.
|
Package validation maps validator failures to application problems. |
Click to show internal directories.
Click to hide internal directories.