不灭的焱

加密类型:SHA/AES/RSA下载Go
复合类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel)、接口(interface)、数组(array)、结构体(struct) Go类型+零值nil
引用类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel) Go引用

作者:AlbertWen  添加时间:2020-12-25 12:43:18  修改时间:2025-12-02 16:08:00  分类:21.Golang编程  编辑

解决方法:

进入到上面说的golang.org/x目录下,执行命令下载sys

注意:提前安装好Git,我本地的GOPATH目录为:D:\go\GoProjects

(1) 先配置一下Git,不然会报错:OpenSSL SSL_read: Connection was reset, errno 10054

git config --global http.sslVerify "false"

(2) 下载官方扩展包:

cd  D:\go\GoProjects\src\golang.org\x\

git clone https://github.com/golang/tools.git
git clone https://github.com/golang/net.git
git clone https://github.com/golang/sys.git
git clone https://github.com/golang/term.git
git clone https://github.com/golang/crypto.git
git clone https://github.com/golang/oauth2.git
git clone https://github.com/golang/blog.git
git clone https://github.com/golang/text.git
git clone https://github.com/golang/review.git
git clone https://github.com/golang/time.git
git clone https://github.com/golang/vgo.git
git clone https://github.com/golang/image.git
git clone https://github.com/golang/sync.git