apigen Module Versioning¶
apigen is a separate Go module:
- module path:
github.com/calypr/syfon/apigen - module root:
syfon/apigen
Local Development¶
This repo uses syfon/go.work:
So local builds (including Docker builds from syfon/) can resolve apigen without replace directives in go.mod.
Production / CI¶
Production consumers should pin a real published apigen version in go.mod, for example:
Do not rely on replace directives for released builds.
Releasing apigen¶
From the syfon repository:
- Commit generated
apigen/*changes. - Tag the submodule version:
- Bump dependent modules: