|
|
@ -27,21 +27,16 @@ type response struct{
|
|
|
|
// TODO: add members here and delete this comment
|
|
|
|
// TODO: add members here and delete this comment
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@server(
|
|
|
|
|
|
|
|
port: // TODO: add port here and delete this comment
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
service {{.serviceName}} {
|
|
|
|
service {{.serviceName}} {
|
|
|
|
@server(
|
|
|
|
@server(
|
|
|
|
handler: // TODO: set handler name and delete this comment
|
|
|
|
handler: // TODO: set handler name and delete this comment
|
|
|
|
)
|
|
|
|
)
|
|
|
|
// TODO: edit the below line
|
|
|
|
get /users/id/:userId(request) returns(response)
|
|
|
|
// get /users/id/:userId(request) returns(response)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@server(
|
|
|
|
@server(
|
|
|
|
handler: // TODO: set handler name and delete this comment
|
|
|
|
handler: // TODO: set handler name and delete this comment
|
|
|
|
)
|
|
|
|
)
|
|
|
|
// TODO: edit the below line
|
|
|
|
post /users/create(request)
|
|
|
|
// post /users/create(request)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|