Expand description
gen-gomod — gomod adapter for the gen ecosystem.
Parses go.mod into a typed BuildSpec and emits it as
Cargo-equivalent typed JSON. See
theory/ECOSYSTEM-INTAKE.md for the seven-artifact contract.
Re-exports§
pub use adapter::GomodAdapter;pub use error::Result;pub use error::GomodError;
Modules§
- adapter
GomodAdapter— gen-gomod’s implementation of the canonicalgen_types::Adaptertrait. Stub-level today; every verb returnsUnsupporteduntil the gomod-side parser lands.- build_
spec - Typed build spec for gomod — mirrors nixpkgs
buildGoModulekwargs so substrate’s Go-side lockfile-builder spreads the args verbatim into the builder. - error
- invariants
- Invariants over the gomod
BuildSpec. Implementsgen_types::Invariantsso cse-lint + gen confirm can call into the adapter uniformly. - quirks
- Typed quirk registry for gomod. Implements
gen_types::QuirkRegistryvia#[derive(QuirkRegistry)].