Build RESTful API service in golang using gin-gonic framework

Today Iโ€™m going to build a simple API for todo application with the golang programming language. Iโ€™m going to use golang simplest/fastest framework gin-gonic and a beautiful ORM gorm for our database work. To install these packages go to your workspace $GOPATH/src and run these command below: $ go get gopkg.in/gin-gonic/gin.v1 $ go get -u github.com/jinzhu/gorm $ go get github.com/go-sql-driver/mysql In generic crud application we need the APIโ€™s as follows: ...

November 12, 2017 ยท 5 min ยท Saddam H