fastgo:A simple, fast go web development framework. 简单方便快速的 go web 开发框架

时间:2021-05-17 15:00:55
【文件属性】:
文件名称:fastgo:A simple, fast go web development framework. 简单方便快速的 go web 开发框架
文件大小:349KB
文件格式:ZIP
更新时间:2021-05-17 15:00:55
go golang web-framework fasthttp go-web-framework fastgo 是一个基于 , , 搭建的快速的 Go Web 开发框架! 安装 要求是 Go 至少是 v1.7。 $ go get -u github.com/phachon/fastgo $ go get ./... 使用 package main import ( "github.com/phachon/fastgo" ) type AuthorController struct{ fastgo.Controller } func (this *AuthorController) Index() { this.ReturnJson(map[string]string{ "data": "ok", }) } func main() { author := &AuthorController{} fastgo.Route.GET("/auth
【文件预览】:
fastgo-master
----bootstrap.go(3KB)
----_example()
--------mvc()
----controller.go(8KB)
----router.go(2KB)
----LICENSE(1KB)
----.gitignore(290B)
----logo.png(12KB)
----README.md(2KB)

网友评论