Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ghostfolio-cryptogains
command
Command ghostfolio-cryptogains launches the first runnable terminal slice of the Ghostfolio capital-gains workflow.
|
Command ghostfolio-cryptogains launches the first runnable terminal slice of the Ghostfolio capital-gains workflow. |
|
internal
|
|
|
app/bootstrap
Package bootstrap contains startup configuration and bootstrap helpers for the terminal application.
|
Package bootstrap contains startup configuration and bootstrap helpers for the terminal application. |
|
app/runtime
Package runtime assembles application dependencies for the TUI runtime.
|
Package runtime assembles application dependencies for the TUI runtime. |
|
config/model
Package model defines the bootstrap configuration persisted for the current application slice.
|
Package model defines the bootstrap configuration persisted for the current application slice. |
|
config/store
Package store persists and reloads the bootstrap setup file.
|
Package store persists and reloads the bootstrap setup file. |
|
ghostfolio/client
Package client implements the minimal Ghostfolio HTTP boundary used by this sync-and-storage slice.
|
Package client implements the minimal Ghostfolio HTTP boundary used by this sync-and-storage slice. |
|
ghostfolio/dto
Package dto defines the Ghostfolio transport models required by the sync and protected-storage slices.
|
Package dto defines the Ghostfolio transport models required by the sync and protected-storage slices. |
|
ghostfolio/mapper
Package mapper converts Ghostfolio transport DTOs into normalized activity records used by the sync pipeline.
|
Package mapper converts Ghostfolio transport DTOs into normalized activity records used by the sync pipeline. |
|
ghostfolio/validator
Package validator validates the minimal Ghostfolio response contract used by the sync-and-storage slice.
|
Package validator validates the minimal Ghostfolio response contract used by the sync-and-storage slice. |
|
integration/currency
Package currency owns official exchange-rate provider integration for report base-currency conversion.
|
Package currency owns official exchange-rate provider integration for report base-currency conversion. |
|
report/basis
Package basis defines cost-basis state and allocation rules used by report calculation.
|
Package basis defines cost-basis state and allocation rules used by report calculation. |
|
report/calculate
Package calculate defines yearly gains-and-losses report calculation services built on normalized protected activity history.
|
Package calculate defines yearly gains-and-losses report calculation services built on normalized protected activity history. |
|
report/markdown
Package markdown defines Markdown document rendering for calculated yearly gains-and-losses reports.
|
Package markdown defines Markdown document rendering for calculated yearly gains-and-losses reports. |
|
report/model
Package model defines runtime report models shared across calculation, rendering, output, and runtime orchestration packages.
|
Package model defines runtime report models shared across calculation, rendering, output, and runtime orchestration packages. |
|
report/output
Package output defines local filesystem save and post-save open helpers for generated yearly gains-and-losses report files.
|
Package output defines local filesystem save and post-save open helpers for generated yearly gains-and-losses report files. |
|
report/pdf
Package pdf defines the local PDF rendering boundary for calculated yearly gains-and-losses reports.
|
Package pdf defines the local PDF rendering boundary for calculated yearly gains-and-losses reports. |
|
report/presentation
Package presentation converts calculated report-domain values into format-neutral report table values.
|
Package presentation converts calculated report-domain values into format-neutral report table values. |
|
snapshot/envelope
Package envelope defines the protected snapshot envelope boundary.
|
Package envelope defines the protected snapshot envelope boundary. |
|
snapshot/model
Package model defines the protected snapshot data structures shared across snapshot packages.
|
Package model defines the protected snapshot data structures shared across snapshot packages. |
|
snapshot/store
Package store defines the protected snapshot persistence boundary.
|
Package store defines the protected snapshot persistence boundary. |
|
support/date
Package date provides reusable source-calendar date normalization helpers for report calculation and exchange-rate evidence boundaries.
|
Package date provides reusable source-calendar date normalization helpers for report calculation and exchange-rate evidence boundaries. |
|
support/decimal
Package decimal provides exact-decimal parsing and canonical string helpers for Ghostfolio transport and protected snapshot persistence.
|
Package decimal provides exact-decimal parsing and canonical string helpers for Ghostfolio transport and protected snapshot persistence. |
|
support/math
Package math centralizes reusable exact-decimal arithmetic helpers shared by validation and report-calculation packages.
|
Package math centralizes reusable exact-decimal arithmetic helpers shared by validation and report-calculation packages. |
|
support/redact
Package redact provides secret-safe text helpers for application-owned diagnostics and transient messages.
|
Package redact provides secret-safe text helpers for application-owned diagnostics and transient messages. |
|
support/text
Package text provides small reusable predicates for working with plain text.
|
Package text provides small reusable predicates for working with plain text. |
|
sync/model
Package model defines normalized sync data structures shared across sync, snapshot, and runtime packages.
|
Package model defines normalized sync data structures shared across sync, snapshot, and runtime packages. |
|
sync/normalize
Package normalize defines the normalized activity-history transformation boundary.
|
Package normalize defines the normalized activity-history transformation boundary. |
|
sync/validate
Package validate defines the normalized activity-history validation boundary.
|
Package validate defines the normalized activity-history validation boundary. |
|
tui/component
Package component contains shared TUI styling and rendering helpers.
|
Package component contains shared TUI styling and rendering helpers. |
|
tui/flow
Package flow owns the Bubble Tea root model and workflow routing for this sync-and-storage slice.
|
Package flow owns the Bubble Tea root model and workflow routing for this sync-and-storage slice. |
|
tui/screen
Package screen renders full-screen workflow states for the terminal application.
|
Package screen renders full-screen workflow states for the terminal application. |
|
tests
|
|
|
empirical/fixture
Package fixture provides empirical dataset fixtures, parsers, validators, and comparison helpers for integration tests.
|
Package fixture provides empirical dataset fixtures, parsers, validators, and comparison helpers for integration tests. |
|
testutil
Package testutil contains shared test fixtures and helpers.
|
Package testutil contains shared test fixtures and helpers. |
|
testutil/reportpdf
Package reportpdf provides shared font-backed PDF setup for black-box report tests.
|
Package reportpdf provides shared font-backed PDF setup for black-box report tests. |
|
testutil/runtimeapp
Package runtimeapp provides runtime assembly helpers for tests that exercise application services through the production runtime package.
|
Package runtimeapp provides runtime assembly helpers for tests that exercise application services through the production runtime package. |
|
testutil/runtimeflow
Package runtimeflow provides reusable runtime-backed black-box fixtures for repository test suites.
|
Package runtimeflow provides reusable runtime-backed black-box fixtures for repository test suites. |
|
tools
|
|
|
coveragegate
command
Package main enforces the repository coverage gate from the generated Go cover profile and Cobertura report.
|
Package main enforces the repository coverage gate from the generated Go cover profile and Cobertura report. |
|
coverpkg
command
Package main prints a comma-separated package list for Go package patterns.
|
Package main prints a comma-separated package list for Go package patterns. |
|
empiricaloracle
command
Package main contains artifact persistence helpers for empirical oracle fixture regeneration.
|
Package main contains artifact persistence helpers for empirical oracle fixture regeneration. |
Click to show internal directories.
Click to hide internal directories.