Skip to content

Golang application which performs basic database queries on MySQL DB

Notifications You must be signed in to change notification settings

arpankundu007/golang-mysql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-mysql-example

Golang application which performs basic database queries on MySQL DB

GET("/mobile/mobiles/:id") Fetches information of a mobile with id

GET("/mobile/all") Fetches information of all mobiles in the database

POST("/mobile/add") Creates a new mobile record

PUT("/mobile/update/:id) Updates a row with new mobile data belonging to id

GET("/drop") Drops the table. (Currently a server restart is required after a drop)

DELETE("/delete/{id}") Delete record belonging to id

About

Golang application which performs basic database queries on MySQL DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages