Modules declare go 1.27.1 and the build images follow. go fix applied the
modernizers: strings.Cut and range over int. omitzero is not applied, since
it changes what the JSON says.
Co-authored-by: Hanzo Dev <[email protected]>
This repo held two unrelated codebases under one name. `main` was the account
portal (a Cloudflare Worker serving account.hanzo.id / account.lux.id), while the
Go module github.com/hanzoai/account — Account, Payer, Subject, the rule that
decides who pays for anything — survived only on a `go` branch and its tags.
A Go module whose default branch has no go.mod cannot resolve for anything but an
explicit tag. That is why the package every service needs was pinned-and-private
instead of importable: cloud imports it in 5 files including the trust boundary,
commerce in 2, and it has zero dependencies of its own.
The Worker now lives in hanzoai/id/apps/account, where the rest of the identity
UI is — same brands, same IAM, same login redirect. Its history stays on this
repo's other branches; nothing is lost.
So main becomes what the module path already claimed it was. The repo is public
now too, so consumers no longer need GOPRIVATE and credentials to build.
Co-authored-by: Hanzo Dev <[email protected]>