-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/cmd/present: support play snippets in module mode #35666
Comments
I assume you've considered running |
github.com/eliasnaur/gophercon-2019-talk is a module: https://github.com/eliasnaur/gophercon-2019-talk/blob/master/go.mod and I run |
Oh, my bad for missing that detail. |
To clarify, since you're running
From looking at it briefly, I suspect the problem is that the snippet is being built in a temporary directory: Which means it doesn't use the same module where |
No progress on this? I'm trying to produce a slidedeck that showcase the new |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Then, I opened http://127.0.0.1:3999/gophercon-2019.slide#7 in a browser and pressed "run".
What did you expect to see?
The program running locally.
What did you see instead?
present
used to work withGO111MODULE=on
. I believe the fix for #32027 broke it.The text was updated successfully, but these errors were encountered: