From 663a8c9c799c15350df0eb93925dd47abfa221d7 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 15 Jan 2020 22:20:42 +0100 Subject: [PATCH] tutorial: a minor vweb update --- tutorials/building-a-simple-web-blog-with-vweb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index 8ae6621d77..6236f90566 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -57,7 +57,7 @@ import ( vweb ) -struct App { +pub struct App { mut: vweb vweb.Context } @@ -71,6 +71,7 @@ fn (app mut App) index() { } pub fn (app &App) init() {} +pub fn (app &App) reset() {} ```