1.1 Go web框架gin安装与配置

安装与配置

安装:

$ go get gopkg.in/gin-gonic/gin.v1

注意:确保 GOPATH GOROOT 已经配置

导入:

import "gopkg.in/gin-gonic/gin.v1"

备注:如果不能安装,注意确保网络能访问。

Leave a Reply

Your email address will not be published. Required fields are marked *