workspaces tutorial query

116 views
Skip to first unread message

Dan Kortschak

unread,
Mar 12, 2022, 4:40:04 AM3/12/22
to golang-nuts
I was just taking a look at the workspaces tutorial and saw that while
the doc says that adding the local example module will result in

go 1.18

use (
./hello
./example
)

what actually results is

go 1.18

use (
./hello
example
)

The behaviour is otherwise as expected, but this may confuse some
readers given that leading dots are important in other paths used by
the build system.

Should the doc be updated or is the tool's behaviour unexpected here?

thanks
Dan


Sean Liao

unread,
Mar 12, 2022, 12:45:31 PM3/12/22
to golang-nuts
Fixed on tip
Reply all
Reply to author
Forward
0 new messages