mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tutorial: a minor vweb update
This commit is contained in:
parent
de3ad2b04f
commit
663a8c9c79
@ -57,7 +57,7 @@ import (
|
|||||||
vweb
|
vweb
|
||||||
)
|
)
|
||||||
|
|
||||||
struct App {
|
pub struct App {
|
||||||
mut:
|
mut:
|
||||||
vweb vweb.Context
|
vweb vweb.Context
|
||||||
}
|
}
|
||||||
@ -71,6 +71,7 @@ fn (app mut App) index() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn (app &App) init() {}
|
pub fn (app &App) init() {}
|
||||||
|
pub fn (app &App) reset() {}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user