Skip to content

adityasonel/golang-mysql-gonic-restful-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

golang-mysql-gonic-restful-api

golang mySQL gin-gonic restful api example

API ENDPOINTS

All Notes

  • Path : v1/notes
  • Method: GET
  • Response: 200

Add note

  • Path : v1/add
  • Method: POST
  • Fields: id, content, create_time, modify_time, deleted
  • Response: 201

Update Note

  • Path : v1/note/{id}
  • Method: PUT
  • Fields: content, modify_time
  • Response: 200

Delete note

  • Path : v1/note/{id}
  • Method: DELETE
  • Response: 204

Required Packages

Releases

No releases published

Packages

No packages published

Languages