Repository Details
Shared by
HelloGitHub Rating
0 ratings
一个基于 V 语言的 web 框架
Past 6 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 157 | — |
| 周三 | 157 | 0 |
| 周四 | 157 | 0 |
| 周五 | 157 | 0 |
| 周六 | 157 | 0 |
| 周日 | 157 | 0 |
157
Stars
No
Chinese
V
Language
No
Active
5
Contributors
3
Issues
Yes
Organization
None
Latest
13
Forks
MIT
License

一个基于 V 语言的 web 框架。V 语言是一门还在开发和完善过程中的语言,还不怎么成熟但却十分适合用于 web 开发,不仅官方的标准库中提供了 vweb 以及 orm 的支持,不少开发者也都推出了各自的 web 开发框架,valval 就是其中之一。示例代码如下:
```v
// demo.v
import valval
fn hello(req valval.Request) valval.Response {
return valval.response_ok('hello world')
}
fn main() {
mut app := valval.new_app(true)
app.register('/', hello)
valval.runserver(app, 8012)
}
```
Included in:
Vol.46
Comments
Rating:
No comments yet