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