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)
golib
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:
Languages
Go
100%