update main

This commit is contained in:
boneyard93501 2021-04-08 00:39:58 -05:00
parent 76dff0e24f
commit ff3cd98cf4

View File

@ -0,0 +1,18 @@
use fluence::fce;
#[fce]
pub struct Echo {
pub echo: String,
}
#[fce]
pub fn echo(inputs: Vec<String>) -> Vec<Echo> {
inputs
.iter()
.map(|s| Echo {
echo: s.to_string(),
})
.collect()
}
fn main() {}