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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user