Skip to content

Commit f8d2854

Browse files
fix inaccuracies in workspace tutorial
1 parent 90c3e61 commit f8d2854

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_content/doc/tutorial/workspaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever
177177

178178
use (
179179
./hello
180-
./example
180+
example
181181
)
182182
```
183183
@@ -230,7 +230,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever
230230
From the workspace directory, run
231231
232232
```
233-
$ go run example/hello
233+
$ go run example.com/hello
234234
HELLO
235235
```
236236
@@ -256,7 +256,7 @@ add a new function to the `stringutil` package that we can use instead of `Rever
256256
257257
```
258258
cd hello
259-
go get example.com/dep@v0.1.0
259+
go get golang.org/x/example@v0.1.0
260260
```
261261
262262
That way, the `go` command can properly resolve the modules outside the workspace.

0 commit comments

Comments
 (0)