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/website: Tutorial: Get started with Go is not working correctly #44021
Comments
this looks like a problem with your internet connection |
I guess it was not a problem with my internet connection.
As you can see there is no "go" folder in my home directory.
As you can see I have a file "hello.go" the same as in the step 2 of the section "Call code in an external package".
Then I run a command from the step 4 of "Call code in an external package".
As you can see there is some error happened.
So, I guess, it cannot be a problem with my internet connection, because these files are somehow fetched from somewhere, I guess from the internet. |
@akimovstv Your problem is that you can not access
then run The goproxy.io's servers deployed in Europe, USA and HongKong. |
@oiooj So, lately I've been doing some testing on other computers connected to different networks. Everything was fine and worked as expected. In the long last I found the source of the problem. It seems that the problem is with my router and, as I may guess, my host OS. My router has 2 channels: 2.4G (slower one) and 5G (faster one). When I connect to the Internet wirelessly using 5G channel of my router the problem is there, when I change connection to 2.4G channel the problem is gone. I am not an expert and cannot possilbly understand the reason of this. I tried to fix the problem by setting my network and firewall settings of my os to default state, and set the 5G channel settings on my router in accordance with the 2.4G channel settings. It helped a bit, but still sometimes packages do not download. It is very very strange 😦. I shall use 2.4G wifi for futher learning. Anyway, thank for help everyone! |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I do not know. But it reproduces on Windows.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am starting to learn Go.
I follow instruction from https://golang.org/doc/tutorial/getting-started
What did you expect to see?
After running step 4 of the instruction
4 Run your code to see the message generated by the function you're calling
I want to see:What did you see instead?
And on Windows it is:
So it does not print the line:
Don't communicate by sharing memory, share memory by communicating.
as stated in the step 4 of the tutorial.The text was updated successfully, but these errors were encountered: