diff options
Diffstat (limited to '_content/doc/tutorial/workspaces.md')
| -rw-r--r-- | _content/doc/tutorial/workspaces.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/tutorial/workspaces.md b/_content/doc/tutorial/workspaces.md index a3452499..517b5d9e 100644 --- a/_content/doc/tutorial/workspaces.md +++ b/_content/doc/tutorial/workspaces.md @@ -190,7 +190,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever We'll add a new function to uppercase a string to the `golang.org/x/example/stringutil` package. - Add a new folder to the `workspace/example/stringutil` directory containing the following contents: + Create a new file named `toupper.go` in the `workspace/example/stringutil` directory containing the following contents: ``` package stringutil @@ -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 ``` |
