MCPcopy Create free account
hub / github.com/arcjet/gravity / FactoryConfig

Class FactoryConfig

cmd/gravity/src/codegen/factory.rs:17–21  ·  view source on GitHub ↗

Configuration for factory generation

Source from the content-addressed store, hash-verified

15
16/// Configuration for factory generation
17pub struct FactoryConfig<'a> {
18 pub analyzed_imports: &'a AnalyzedImports,
19 pub import_chains: BTreeMap<String, Tokens<Go>>,
20 pub wasm_var_name: &'a GoIdentifier,
21}
22
23/// Generator for factory and instance types
24pub struct FactoryGenerator<'a> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected