Build RESTful API service in golang using gin-gonic framework
Today, Iโm going to build a simple API for a to-do application using the Go programming language. For this, Iโll use Gin, one of Goโs simplest and fastest web frameworks, and Gorm, a powerful and flexible ORM for database operations. To get started, youโll need to install these packages. Navigate to your workspace directory ($GOPATH/src) and run the following commands: $ 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: ...