feat: have test unswer code
This commit is contained in:
@@ -10,6 +10,11 @@ use std::sync::{Arc, Mutex};
|
|||||||
use tokio::task::JoinHandle;
|
use tokio::task::JoinHandle;
|
||||||
|
|
||||||
|
|
||||||
|
async fn test_handler() -> Result<HttpResponse, actix_web::Error> {
|
||||||
|
Ok(HttpResponse::Ok().body("Hello, World!"))
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
mod data;
|
mod data;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
async fn test_handler() -> Result<HttpResponse, actix_web::Error> {
|
|
||||||
Ok(HttpResponse::Ok().body("Hello, World!"))
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user