mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 06:55:00 +00:00
- Collect: replace WalkDir with ReadDir to avoid subdirectory recursion and the risk of duplicate filenames silently overwriting each other - shmigrate: check scanner.Err() after reading migrations log - shmigrate: shell-quote all paths in generated scripts to prevent shell injection via migration filenames - shmigrate: wrap errors with ErrQueryApplied sentinel for consistency with DB backends - mustInit: remove stale err check that could never fire - mustInit: fix swapped error messages (read vs create)