mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix v build-examples
This commit is contained in:
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…
x
Reference in New Issue
Block a user