1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: make thread safe; checker: $if T is Interface {

This commit is contained in:
Alexander Medvednikov
2021-05-11 09:30:01 +03:00
parent e310513a5f
commit dc034d9b16
17 changed files with 348 additions and 178 deletions

View File

@@ -15,7 +15,7 @@ mut:
fn main() {
println('vweb example')
vweb.run<App>(port)
vweb.run(&App{}, port)
}
pub fn (mut app App) init_server() {