使用gin+gorm实现restful规范的增删改查示例
git clone https://github.com/lyric-demo/gin-gorm-demo.git
cd gin-gorm-demo
go get -v ./...
go build -o demo
./demo
go get -u github.com/gin-gonic/gin
import "github.com/gin-gonic/gin"
go get -u github.com/jinzhu/gorm
import "github.com/jinzhu/gorm"