$ go mod download
$ CompileDaemon -build="go build innovasive/go-clean-template" -command="./go-clean-template"
https://${url}/users
GET
- Code: 200 OK
- Content:
users : [
{
"id": UUID,
"email": "",
"first_name": ""
"last_name": ""
},
...
]
- Code: 500 Internal Server Error
https://${url}/users/:email
GET
- Code: 200 OK
- Content:
users : [
{
"id": UUID,
"email": "",
"first_name": ""
"last_name": ""
},
...
]
- Code: 500 Internal Server Error
https://${url}/users
{
"email": "",
"first_name": ""
"last_name": ""
}
POST
- Code: 201 CREATED
- Content:
{
"userID": UUID
}
- Code: 406 Not Acceptable