This repository is a multi-module Go repo. The core module is tagged vX.Y.Z; each
adapter module is tagged <dir>/vX.Y.Z (Go’s required path-prefix tag scheme).
Adapter modules require github.com/bakhod1r/alx vX.Y.Z with no replace directive,
so consumers resolve the published core. Local development uses go.work instead —
go.work is committed, but it is ignored by the module proxy and never affects consumers.
The core must be tagged and visible on the proxy before the adapters are tagged,
otherwise go get of an adapter fails with unknown revision.
make all passes.Unreleased entries in CHANGELOG.md under a new
## [X.Y.Z] - YYYY-MM-DD heading and update the link definitions at the bottom.
The release workflow extracts that exact section as the GitHub release notes and
fails if it is missing.Tag and push the core:
git tag v0.1.0
git push origin v0.1.0
Confirm the proxy has it:
GOPROXY=proxy.golang.org GOFLAGS=-mod=mod go list -m github.com/bakhod1r/alx@v0.1.0
Bump each adapter’s require github.com/bakhod1r/alx line to the new core version,
then tag the adapters:
for d in gin fiber echo iris beego fasthttp; do
git tag "$d/v0.1.0"
done
git push origin --tags
Verify from a clean directory outside the workspace:
cd $(mktemp -d) && go mod init tmp && go get github.com/bakhod1r/alx/gin@v0.1.0
v1.0.0: breaking changes are allowed on minor bumps.v1.0.0: the core module follows semver; breaking changes require a /v2 path.