没有合适的资源?快使用搜索试试~ 我知道了~
gadget:Go 的 RESTful 路由和控制器
共65个文件
go:40个
html:18个
tpl:3个
需积分: 5 0 下载量 158 浏览量
2021-06-23
06:38:57
上传
评论
收藏 53KB ZIP 举报
温馨提示
Gadget 是 Go 的 Web 框架 Gadget 是一个小型的 Web 应用程序框架,对内容协商情有独钟。 它需要 Go1.1 的工作安装和根据设置的工作区/环境变量。 您可以一次安装及其所有子包: go get -v github.com/redneckbeard/gadget/... 您可以阅读的,或完成下面的快速示例项目。 好的。 我有一些照片想与一些朋友分享,所以我们将制作一个照片应用程序。 我将在$GOPATH/src的根目录下运行$GOPATH/src工具。 $ gdgt new photos Created directory photos/controllers Created directory photos/app Created directory photos/templates Created directory photos/static/c
资源推荐
资源详情
资源评论
收起资源包目录
gadget-master.zip (65个子文件)
gadget-master
serve.go 668B
registry_test.go 6KB
example_test.go 912B
response.go 977B
controller_test.go 2KB
route_test.go 9KB
env
env.go 3KB
registry.go 5KB
gdgt
main.go 90B
project.go 2KB
controller.go 2KB
loader.go 784B
templates
conf.tpl 584B
home
index.html 32B
404.html 63B
base.html 98B
main.tpl 157B
controller.tpl 1KB
strutil
strutil.go 2KB
strutil_test.go 651B
broker_test.go 3KB
route.go 5KB
response_test.go 5KB
user_test.go 2KB
handler_test.go 7KB
query
conn.go 917B
query.go 2KB
doc.go 121B
broker.go 1KB
.travis.yml 131B
LICENSE 1KB
doc.go 200B
request.go 3KB
README.md 7KB
user.go 1KB
sitemap
controller.go 695B
sitemap.go 2KB
serialize.go 947B
controller.go 5KB
templates
template.go 4KB
testdata
define
snippet.html 6B
base.html 46B
widgets
index.html 30B
show.html 0B
200
base.html 0B
widgets
index.html 0B
show.html 0B
render
fallback
snippet.html 6B
base.html 22B
widgets
index.html 54B
show.html 0B
controllerdir
base.html 22B
widgets
index.html 54B
snippet.html 6B
show.html 0B
five_hundred.go 482B
template_test.go 2KB
.gitignore 19B
forms
fields.go 7KB
example_test.go 2KB
doc.go 524B
field_test.go 7KB
form.go 6KB
form_test.go 5KB
default.go 4KB
共 65 条
- 1
资源评论
giao金
- 粉丝: 31
- 资源: 4604
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功