1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 23:07:01 +00:00

a whole bunch of tests for the method macros

This commit is contained in:
Dominic 2020-05-08 18:39:11 +02:00
parent 4bf0bd7b09
commit e05f9bb963
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
23 changed files with 473 additions and 28 deletions

View file

@ -76,14 +76,14 @@ fn update(id : u64, body : User)
info!("Change User {} to {}", id, body.username);
}
#[delete_all(Users)]
fn delete_all()
#[remove_all(Users)]
fn remove_all()
{
info!("Delete all Users");
}
#[delete(Users)]
fn delete(id : u64)
#[remove(Users)]
fn remove(id : u64)
{
info!("Delete User {}", id);
}