-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[go/en] Go - link to playground version of lerngo.go #318
Comments
Actually, it would be a really good idea, although the sandboxing environment provided by go playground prevents some of the interactions (mostly network ones) we use in the code right now. This is the actual code in playground. I'll take a look to create a playground gist with current learnxinyminutes without those calls if it complies with learnxinyminutes policy. |
I just sent an email to golang-dev to see if it's ok to link (although I'm pretty sure it is) to playground from learnxinyminutes. |
Good news n# 1 is that playground maintainer seems dedicated to enforce playground URL to last forever. |
The playground has a fake clock, fake filesystem and fake networking now, |
Yes, apparently, but we should modify quite heavily the examples since it's basically mocking networking, the control flow won't go far... |
You could add something like an init function after main() that creates the |
[go/en] Adding Go playground link with code - fixes #318
http://learnxinyminutes.com/docs/go/
It would be awesome if there were a link to open that file up in the playground, where people could play around with it in addition to reading it.
The text was updated successfully, but these errors were encountered: