You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
321 B
17 lines
321 B
/* |
|
use std::fmt::Display; |
|
use u_api_proc_macro::api_route; |
|
use uuid::Uuid; |
|
|
|
struct Paths; |
|
struct ClientHandler; |
|
|
|
#[test] |
|
fn test_api_proc_macro() { |
|
#[api_route("GET", Uuid)] |
|
fn list<T: Display>(&self, msg: T) -> String {} |
|
|
|
#[api_route("POST", Uuid)] |
|
fn report<T: Display>(&self, msg: T) -> String {} |
|
} |
|
*/
|
|
|