Recently, many users have reported that they cannot open the website when visiting golang.org, especially in mainland China. This is because golang.org has been blocked by the Great Firewall of China. But don't worry, you can still use golang related resources, you just need to use some alternatives.
First of all, you can use the mirror site of golang official website. Currently, the most widely used one in China is https://golang.google.cn, which is the official mirror site of golang and is updated simultaneously with golang.org. You can find documentation, download golang binaries, and view community resources through this site. At the same time, you can also search for golang-related content through search engines. Some domestic community sites also provide golang learning resources.
Secondly, if you need to view official documentation, you can use Godoc. Godoc is an online documentation tool officially provided by golang. You can access it through godoc.org or the local command line. Using godoc on the local command line is very simple. You only need to enter "go doc
Finally, if you need to download golang binary files, you can use the mirror site officially provided by golang or a third-party mirror site. There are currently some popular golang images provided by third-party authors on GitHub, such as https://github.com/golang/go/wiki/Go-Alternate-Downloads. However, it should be noted that you must download the officially released binary file to ensure the safety and normality of the downloaded binary file.
In general, although golang.org is blocked in China, it does not affect the use of golang-related resources. We can completely use golang's official mirror site, Godoc tool or third-party mirror site to obtain the resources we need. This also demonstrates golang's strong open source and community support capabilities, and we can safely continue to use golang to develop better applications.
The above is the detailed content of golang China cannot be opened. For more information, please follow other related articles on the PHP Chinese website!