From 664f220f4028bf72d6ad53bc8fefbc9476c433d0 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 17 May 2021 08:51:49 +0300 Subject: [PATCH] vweb: a minor readme update --- vlib/vweb/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/vweb/README.md b/vlib/vweb/README.md index f63cd8cd46..850048c401 100644 --- a/vlib/vweb/README.md +++ b/vlib/vweb/README.md @@ -72,7 +72,7 @@ To start with vweb, you have to import the module `vweb`. After the import, define a struct to hold vweb.Context (and any other variables your program will need). -The web server can be started by calling `vweb.run(&App{}, port)`. +The web server can be started by calling `vweb.run(&App{}, port)`. **Example:** @@ -84,7 +84,7 @@ struct App { } fn main() { - vweb.run(&App{}, 8080) + vweb.run(&App{}, 8080) } ```