From fe2d48491e613000981fc5d593a54cc9e424a32f Mon Sep 17 00:00:00 2001 From: Nitin Srivastava <64013075+nitin-srivastava-github@users.noreply.github.com> Date: Sun, 25 Jul 2021 23:14:20 +0530 Subject: [PATCH 1/2] Update createapp.md Once, the new application is created by Revel cmd, cd into the new application directory and run ``` go mod tidy -v ```. Move one folder back and run your app as usual. --- tutorial/createapp.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorial/createapp.md b/tutorial/createapp.md index 4f98b91..c0e74d4 100644 --- a/tutorial/createapp.md +++ b/tutorial/createapp.md @@ -13,6 +13,12 @@ Revel executing: create a skeleton Revel application Your application has been created in: /home/me/gostuff/myapp +# https://golangbyexample.com/go-mod-tidy/ +cd /home/me/gostuff/myapp +go mod tidy -v + +cd .. + You can run it with: revel run -a myapp From 383794c1ac854e421ad8d7485ce2aefb865d358a Mon Sep 17 00:00:00 2001 From: Nitin Srivastava <64013075+nitin-srivastava-github@users.noreply.github.com> Date: Mon, 26 Jul 2021 09:21:32 +0530 Subject: [PATCH 2/2] Update createapp.md --- tutorial/createapp.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/tutorial/createapp.md b/tutorial/createapp.md index c0e74d4..77c6f11 100644 --- a/tutorial/createapp.md +++ b/tutorial/createapp.md @@ -17,8 +17,6 @@ Your application has been created in: cd /home/me/gostuff/myapp go mod tidy -v -cd .. - You can run it with: revel run -a myapp