mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix compiling blog/, *and* comptime_if_is_test.v. Add vweb_app_test.v .
This commit is contained in:
@ -7,13 +7,13 @@ import json
|
||||
|
||||
struct App {
|
||||
vweb.Context
|
||||
mut:
|
||||
pub mut:
|
||||
db sqlite.DB [server_var]
|
||||
user_id string
|
||||
}
|
||||
|
||||
fn main() {
|
||||
vweb.run<App>(8081)
|
||||
vweb.run(&App{}, 8081)
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user