github.com/aretw0/loam
Package loam is the Composition Root for the Loam application. It connects the core business logic (Domain Layer) with the infrastructure adapters (Persistence Layer) using the Hexagonal Architecture pattern. Philosophy: Loam is an "Embedded Transactional Engine" for content & metadata. It treats a collection of documents as a transactional database, abstracting the underlying storage mechanism. While the default implementation uses the File System and Git, Loam's core is agnostic, allowing for future adapters (e.g., S3, SQLite). Features: Usage: Example_basic demonstrates how to initialize a Vault, save a note, and read it back. Example_csvNestedData demonstrates Loam's "Smart CSV" capability, which automatically handles nested structures (like maps or slices) by serializing them as JSON within the CSV column. Example_strictMode demonstrates how to enable global strict mode for type fidelity. This ensures that large integers (int64) are not lost as float64 during parsing across ALL supported formats (JSON, YAML, Markdown).
proxy.golang.org
v0.10.8
21 days ago
25
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/aretw0/loam
spec |
| License | AGPL-3.0 |
| Namespace | github.com/aretw0 |
| First Release | 3 months ago |
| Last Synced | 21 days ago |
Repository
| Stars | 3 on GitHub |
| Forks | 0 on GitHub |