From ad8b105b2cdeed322e457e64a27e805eff74edaa Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 30 Jul 2019 21:15:17 +0200 Subject: [PATCH] vweb example --- {vlib/vweb/tests => examples/vweb}/test_app.v | 0 vlib/vweb/README.md | 8 ++++++-- 2 files changed, 6 insertions(+), 2 deletions(-) rename {vlib/vweb/tests => examples/vweb}/test_app.v (100%) diff --git a/vlib/vweb/tests/test_app.v b/examples/vweb/test_app.v similarity index 100% rename from vlib/vweb/tests/test_app.v rename to examples/vweb/test_app.v diff --git a/vlib/vweb/README.md b/vlib/vweb/README.md index b1aafd919e..6c4a5e5523 100644 --- a/vlib/vweb/README.md +++ b/vlib/vweb/README.md @@ -2,9 +2,13 @@ This is pre-alpha software. Lots of things are broken and not implemented yet in V and vweb. -There's no documentation yet, have a look at https://github.com/vlang/vtalk for an example of a simple vweb app. +There's no documentation yet, have a look at a simple example: -`vtalk.v` contains all GET and POST actions. +https://github.com/vlang/v/tree/master/examples/vweb/test_app.v + +There's also the V forum: https://github.com/vlang/vorum + +`vorum.v` contains all GET and POST actions. ```Go pub fn (app mut App) index() {