go/pkg/core
Snider 2d6415b3aa feat: embed.go and data.go return Result throughout
Mount, MountEmbed, Open, ReadFile, ReadString, Sub, GetAsset,
GetAssetBytes, ScanAssets, GeneratePack, Extract → all return Result.

Data.ReadFile, ReadString, List, ListNames, Extract → Result.
Data.New uses Mount's Result internally.

Internal helpers (WalkDir callback, copyFile) stay error — they're
not public API.

231 tests, 77.4% coverage.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-20 14:13:47 +00:00
..
app.go feat: complete DTO pattern — struct literals, no constructors 2026-03-18 10:53:13 +00:00
array.go feat: restructure Core as unified struct with DTO pattern 2026-03-18 09:12:29 +00:00
cli.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
command.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
config.go refactor: AX audit fixes — no direct strings/fmt, full type names 2026-03-20 13:47:23 +00:00
contract.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
core.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
data.go feat: embed.go and data.go return Result throughout 2026-03-20 14:13:47 +00:00
drive.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
embed.go feat: embed.go and data.go return Result throughout 2026-03-20 14:13:47 +00:00
error.go refactor: AX audit fixes — no direct strings/fmt, full type names 2026-03-20 13:47:23 +00:00
fs.go refactor: AX audit fixes — no direct strings/fmt, full type names 2026-03-20 13:47:23 +00:00
i18n.go feat: complete DTO pattern — struct literals, no constructors 2026-03-18 10:53:13 +00:00
ipc.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
lock.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
log.go refactor: AX audit fixes — no direct strings/fmt, full type names 2026-03-20 13:47:23 +00:00
options.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
runtime.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
service.go refactor: replace fmt.Sprintf in errors with Join/Concat 2026-03-20 13:38:53 +00:00
string.go feat: Join() reclaimed for strings — ErrorJoin for errors 2026-03-20 12:42:10 +00:00
task.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
utils.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00