tipi-lang/examples/api/customers.ctl
2025-10-14 22:18:48 +02:00

6 lines
126 B
Text

///gets the customer
fn get(id: u32) -> Customer:
service.get(id)
fn post(customer: Customer):
service.add(customer)