feat: initialise commit
This commit is contained in:
47 files changed
+11991
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#[tauri::command]
|
||||
pub fn greet(name: &str) -> String {
|
||||
format!("Hello, {}! You've been greeted from Rust!", name)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_message(level: &str) -> String {
|
||||
println!("level = {level}");
|
||||
"".to_string()
|
||||
}
|
||||
Reference in new issue
Block a user