golang mySQL gin-gonic restful api example
- Path :
v1/notes
- Method:
GET
- Response:
200
- Path :
v1/add
- Method:
POST
- Fields:
id, content, create_time, modify_time, deleted
- Response:
201
- Path :
v1/note/{id}
- Method:
PUT
- Fields:
content, modify_time
- Response:
200
- Path :
v1/note/{id}
- Method:
DELETE
- Response:
204