From aa0ad9d92216a8081f76fe35944ee5b76c8cc44e Mon Sep 17 00:00:00 2001 From: BigBlack <840206@qq.com> Date: Thu, 19 Dec 2019 08:38:39 +0800 Subject: [PATCH] fix vweb example --- examples/vweb/vweb_example.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/vweb/vweb_example.v b/examples/vweb/vweb_example.v index 9d7b083d4f..88f86a7c35 100644 --- a/examples/vweb/vweb_example.v +++ b/examples/vweb/vweb_example.v @@ -13,7 +13,8 @@ pub mut: } fn main() { - app := App{} + mut app := App{} + app.vweb = vweb.Context{} vweb.run(mut app, port) //vweb.run(Port) }