迪龙网-迪拜华人房产投资指南

Gin is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.

[cc lang='go']
package main

import "github.com/gin-gonic/gin"

func main() {

route := gin.Default()
route.GET("/", func(context *gin.Context) {
context.String(200,"hello gin")
})

route.Run(":9000")
}
[/cc]

赞(0) 打赏
标签:

上一篇:

下一篇:

相关推荐

0 条评论关于"我的第一个gin项目"

表情

最新评论

    暂无留言哦~~

支付宝扫一扫打赏

微信扫一扫打赏