From f8d28548421345a3aa81c68f20db10333ac0c61c Mon Sep 17 00:00:00 2001 From: Bernhard Valenti <bernhard.valenti@gmail.com> Date: Thu, 3 Mar 2022 08:16:28 +0100 Subject: [PATCH 1/2] fix inaccuracies in workspace tutorial --- _content/doc/tutorial/workspaces.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_content/doc/tutorial/workspaces.md b/_content/doc/tutorial/workspaces.md index a34524993e..4e788c1c13 100644 --- a/_content/doc/tutorial/workspaces.md +++ b/_content/doc/tutorial/workspaces.md @@ -177,7 +177,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever use ( ./hello - ./example + example ) ``` @@ -230,7 +230,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever From the workspace directory, run ``` - $ go run example/hello + $ go run example.com/hello HELLO ``` @@ -256,7 +256,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever ``` cd hello - go get example.com/dep@v0.1.0 + go get golang.org/x/example@v0.1.0 ``` That way, the `go` command can properly resolve the modules outside the workspace. From e19bc97f9bfe5d64213af262a8c1d744cddedca8 Mon Sep 17 00:00:00 2001 From: Bernhard Valenti <bernhard.valenti@gmail.com> Date: Fri, 4 Mar 2022 07:39:29 +0100 Subject: [PATCH 2/2] adjust fix for inaccuracies in workspace tutorial --- _content/doc/tutorial/workspaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_content/doc/tutorial/workspaces.md b/_content/doc/tutorial/workspaces.md index 4e788c1c13..000be78d56 100644 --- a/_content/doc/tutorial/workspaces.md +++ b/_content/doc/tutorial/workspaces.md @@ -177,7 +177,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever use ( ./hello - example + ./example ) ```