Create a new factory generator with the given config.
(config: FactoryConfig<'a>)
| 28 | impl<'a> FactoryGenerator<'a> { |
| 29 | /// Create a new factory generator with the given config. |
| 30 | pub fn new(config: FactoryConfig<'a>) -> Self { |
| 31 | Self { config } |
| 32 | } |
| 33 | |
| 34 | /// Get the instance name from the analyzed imports. |
| 35 | pub fn instance_name(&self) -> &GoIdentifier { |
nothing calls this directly
no outgoing calls
no test coverage detected