ci: fix `v build-examples`
parent
6f2c18f1c7
commit
c55549a16a
|
@ -11,7 +11,7 @@ struct App {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
vweb.run<App>(port)
|
vweb.run(&App{}, port)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut app App) index() vweb.Result {
|
pub fn (mut app App) index() vweb.Result {
|
||||||
|
|
|
@ -11,7 +11,7 @@ struct App {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
vweb.run<App>(8081)
|
vweb.run(&App{}, 8081)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut app App) init_server() {
|
pub fn (mut app App) init_server() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ struct App {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
vweb.run<App>(port)
|
vweb.run(&App{}, port)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut app App) init_server() {
|
pub fn (mut app App) init_server() {
|
||||||
|
|
Loading…
Reference in New Issue