This is a created article in which the information may have evolved or changed.
For well-known reasons, Golang does not support domestic use. When checking the document or upgrading the version of the time will be more distressed. Sometimes it is useless to use the Bing cache page to read the document, download the upgrade package is also a variety of want to switch. It's a lot of trouble every time.
For my own convenience, I downloaded the pages of Golang official documents and placed them on my VPS. VPS is not every day can be connected, while yesterday had the opportunity to quickly put up, and then use CDN acceleration. Link:
Http://cyeam.com/go/pkg/index.html
This reminds me of a microblog I saw a few days ago. Said a Cuban website, erected in the evil of the United States, the evil of the United States do not let them use this site. Cuban cock Silk are all the site to download this website to a USB flash drive inside to steal the United States to browse. Similar, hahaha.
Download the whole station with the command:
wget -r -p -np -k http://URL-r 递归下载-p 下载html里面所有的图片-np 不要追溯到父目录(应该是为了避免重复下载吧)-k 相对路径转换为绝对路径
Reference documents
- One Linux command per day (a): wget command-Bamboo
Original link: Offline version of Golang official documents, reproduced please specify the source!