Files
AI-translater-clinet/src-tauri/src/controllers/greet.rs
2026-01-18 21:36:59 +01:00

7 lines
134 B
Rust

use tauri::command;
#[command]
pub fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}