gen-gomod 0.1.5

gen — gomod adapter. Parses go.mod + lockfile into a typed gen_types::Spec emission. One of N adapters that share the typed core via Spec/QuirkRegistry/Invariants traits.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `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.

pub mod adapter;
pub mod build_spec;
pub mod error;
pub mod invariants;
pub mod quirks;

pub use adapter::GomodAdapter;
pub use error::{Result, GomodError};