tutorial: a minor vweb update

pull/3454/head
Alexander Medvednikov 2020-01-15 22:20:42 +01:00
parent de3ad2b04f
commit 663a8c9c79
1 changed files with 2 additions and 1 deletions

View File

@ -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() {}
``` ```