Function shipcat_definitions::template::render_file_data [−][src]
pub fn render_file_data(data: String, context: &Context) -> Result<String>
Expand description
Render convenience function that also trims whitespace
Takes a template to render either in the service folder or the templates folder. The first takes precendense if it exists.