没有合适的资源?快使用搜索试试~ 我知道了~
vitali:vitali是Go的另一个Web框架
共50个文件
go:21个
html:13个
css:2个
需积分: 5 0 下载量 4 浏览量
2021-05-19
14:01:44
上传
评论
收藏 107KB ZIP 举报
温馨提示
生命力 安装 确保首先正确配置了go运行时。 $ go get github.com/lunastorm/vitali 运行示例 $ cd $GOPATH/src/github.com/lunastorm/vitali/example $ go run main.go 2014/04/11 01:50:22 starting server at port 8080... 在浏览器中打开 ,您可以创建一个新幻灯片或编辑示例幻灯片。 基本的webapp文件夹结构 您几乎可以将所有内容放置在基本文件夹中。 但是,您应该创建“ views”子文件夹,在该子文件夹中放置模板html文件以及i18n.json字典。 创建您的第一个资源 资源/ foo.go package resources import ( "github.com/lunastorm/vitali" ) type
资源推荐
资源详情
资源评论
收起资源包目录
vitali-master.zip (50个子文件)
vitali-master
.gitignore 252B
ctx.go 1KB
wrapped_writer.go 603B
user_provider.go 405B
LICENSE 1KB
response_types.go 3KB
write_response.go 6KB
views
foo_post.html 35B
ctx.html 18B
func_test.html 14B
webapp.html 28B
i18n.json 86B
provider_test.html 14B
i18n_test.html 10B
base.html 34B
foo_get.html 34B
provides_test.go 5KB
scripts
tsv_to_i18n.py 736B
i18n_to_tsv.py 574B
README.md 7KB
util.go 917B
example
.gitignore 15B
images
placeholder 0B
e7c4387fb125fc7b994c0f03fe19b11814979d68.jpg 25KB
resources
image.go 605B
progress.go 988B
page.go 1KB
user_slide_list.go 1KB
slide.go 4KB
images.go 2KB
static
js
slide.js 2KB
css
base.css 70B
slide.css 1KB
pic
error.jpg 53KB
util
user_provider.go 803B
lang_provider.go 1KB
chan_map.go 1KB
views
images.html 784B
error.html 369B
user_slide_list.html 1KB
slide.html 5KB
i18n.json 728B
base.html 1KB
main.go 1KB
files
placeholder 0B
foo
example 619B
http_test.go 17KB
views_test.go 5KB
vitali.go 13KB
lang_provider.go 178B
共 50 条
- 1
资源评论
凌冽的风
- 粉丝: 31
- 资源: 4681
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功