mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-02 23:57:59 +00:00
Major refactor: monorel no longer requires being run from the module root. It now accepts paths to binary packages from any ancestor directory and walks up from each path to find go.mod (groupByModule / findModuleRoot). Binaries sharing a module root are grouped together. When the script must cd into a module directory (multi-module run or different CWD) the per-module output is wrapped in a bash subshell to prevent directory leakage. The .git stop-marker now only triggers on a .git DIRECTORY, not a .git FILE. A .git file means the path is inside a submodule whose real repository root is further up the tree, so the search continues upward.
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%