Revel v0.17 和 v0.17.1 已发布,本次更新没有重大更改,详细如下:
v0.17.1
Critical issue identified details here #1200
v0.17
add-validation
i18-lang-by-param
Added namespace to routes, controllers
Added go 1.6 to testing
Adds the ability to set the language by a url parameter. The route file will need to specify the parameter so that it will be picked up
Changed url validation logic to regex
Added new validation mehtods (IPAddr,MacAddr,Domain,URL,PureText)
no changes
no changes
Added Gorm module
Updated cron task manager
Added ability to run a specific job, reschedules job if cron is running.
Gorm module (Example)
Revel 是 Go 语言的框架,其思路完全来自 Java 的 Play Framework。
>>>【评论有礼】7月10日-31日在下方评论资讯,即有机会获得 9 活跃积分和开源中国实物周边。活动详情