AJ ONeal 8869ad6914
fix(sqlmigrate): address low-severity review findings
Core library:
- Replace O(n*m) isApplied linear scan with map lookups (appliedSets)
- Wrap exec errors with ErrExecFailed in Up and Down
- Add tests for Collect with subpath and empty subpath
- Add tests for Latest and Drop convenience wrappers
- Add tests for Applied() error propagation in Up/Down/GetStatus
- Add tests for ErrExecFailed wrapping
- Add tests for context propagation and cancellation
- Store received context in mock for propagation assertions

shmigrate:
- Return ErrExecFailed on missing migration file instead of writing
  a comment and continuing
- Use r.FS for file stat (consistent with Applied), falling back
  to os.Stat when FS is nil
2026-04-09 17:16:27 -06:00
2026-04-09 14:23:33 -06:00
2021-03-10 16:58:54 -07:00
2026-03-01 00:18:32 -07:00
2026-02-12 00:38:04 -07:00
2025-10-11 19:03:58 -06:00

golib

Go Reference

Sometimes a little copying, sometimes a little dependency. Too small for their own repos.

The default branch is dev, but the stable, versioned tags are based on main.

Also, my Go Cheatsheet:

Description
Sometimes a little copying, sometimes a little dependency, but too small for their own repos.
Readme MPL-2.0 7.4 MiB
Languages
Go 100%