golang China cannot be opened

WBOY
Release: 2023-05-13 10:52:07
Original
823 people have browsed it

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 " in the terminal to view the documentation of the corresponding package. For example, "go doc fmt" can view the documentation of the fmt package. In addition, some third-party websites also provide online Godoc services, such as https://godoc.golangtc.com.

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template