Commit graph

2 commits

Author SHA1 Message Date
Snider
5be20af4b0 feat: eliminate fmt, string concat — add core.Println, use Concat/Path everywhere
New primitive: core.Println() wraps fmt.Println.

Replaced across all test + example files:
- fmt.Println → Println (17 example files)
- fmt.Sprintf → Concat + Sprint
- dir + "/file" → Path(dir, "file") (path security)
- "str" + var → Concat("str", var) (AX consistency)

"fmt" import is now zero across all test files.
String concat with + is zero across all test files.

Remaining 9 stdlib imports (all Go infrastructure):
testing, context, time, sync, embed, io/fs, bytes, gzip, base64

558 tests, 84.5% coverage.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 19:42:39 +00:00
Snider
e65cbde97e feat: complete per-file examples — 54 examples across 17 files
New example files: entitlement, task, lock, log, drive, config,
command, info. Every major source file now has a dedicated
*_example_test.go with compilable, tested examples.

561 tests, 84.8% coverage.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 18:39:36 +00:00