【文件属性】:
文件名称:todo:玩狂欢,狂欢和PG
文件大小:17.84MB
文件格式:ZIP
更新时间:2021-03-14 05:55:20
Go
欢迎来到狂欢
用于的高效Web框架。
启动Web服务器:
狂欢运行myapp
转到 ,您将看到:
"It works"
代码布局
生成的Revel应用程序的目录结构:
conf/ Configuration directory
app.conf Main app configuration file
routes Routes definition file
app/ App sources
init.go Interceptor registration
controllers/ App controllers go here
views/ Templates directory
messages/ Message files
【文件预览】:
todo-main
----.gitignore(27B)
----go.mod(1KB)
----app()
--------init.go(3KB)
--------models()
--------views()
--------controllers()
----public()
--------fonts()
--------js()
--------css()
--------img()
----go.sum(11KB)
----README.md(1KB)
----target()
--------app()
----.idea()
--------.gitignore(176B)
--------vcs.xml(180B)
--------modules.xml(260B)
--------todo.iml(281B)
----tests()
--------apptest.go(331B)
----messages()
--------sample.en(454B)
----conf()
--------app.conf(7KB)
--------routes(905B)
----none(3KB)