gowf:Go Web框架

时间:2021-05-19 17:06:56
【文件属性】:
文件名称:gowf:Go Web框架
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-19 17:06:56
Go 高夫 Go Web框架 创建用于学习目的的Web框架。 基于Beego Web框架的教程。 快速开始 ============ package main import ( "github.com/guilhermebr/gowf" ) type IndexView struct { gowf. Controller } func ( self * IndexView ) Get () { self . Ct . WriteString ( "Hello Gowf(ers)!" ) } func main () { app := gowf . NewApp () app . Route ( "/" , & IndexView {}) app . Run () }
【文件预览】:
gowf-master
----server.go(389B)
----context.go(219B)
----controller.go(1KB)
----app.go(266B)
----router.go(1KB)
----config.go(444B)
----README.md(433B)

网友评论