(self, tokens: &mut Tokens<Go>)
| 83 | |
| 84 | impl FormatInto<Go> for ExportGenerator<'_> { |
| 85 | fn format_into(self, tokens: &mut Tokens<Go>) { |
| 86 | for item in self.config.world.exports.values() { |
| 87 | match item { |
| 88 | WorldItem::Function(func) => self.generate_function(func, tokens), |
| 89 | WorldItem::Interface { .. } => todo!("generate interface exports"), |
| 90 | WorldItem::Type { .. } => todo!("generate type exports"), |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | #[cfg(test)] |
nothing calls this directly
no test coverage detected