【阿里云镜像】下载并安装Go环境

一、参考链接

二、Go介绍

Golang(又称Go)是Google公司开发的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。

下载地址:https://mirrors.aliyun.com/golang/

三、下载Go安装包

https://mirrors.aliyun.com/golang/go1.17.4.windows-arm64.msi

image-20211223220703782

四、Windows系统下安装Go

在这里插入图片描述
💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖
在这里插入图片描述
💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚💚
在这里插入图片描述
💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛💛
在这里插入图片描述
💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙
在这里插入图片描述
💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜💜
在这里插入图片描述

在这里插入图片描述

go
Microsoft Windows [版本 10.0.19042.1237] (c) Microsoft Corporation。保留所有权利。 C:\Users\xyb>go Go is a tool for managing Go source code. Usage: go <command> [arguments] The commands are: bug start a bug report build compile packages and dependencies clean remove object files and cached files doc show documentation for package or symbol env print Go environment information fix update packages to use new APIs fmt gofmt (reformat) package sources generate generate Go files by processing source get add dependencies to current module and install them install compile and install packages and dependencies list list packages or modules mod module maintenance run compile and run Go program test test packages tool run specified go tool version print Go version vet report likely mistakes in packages Use "go help <command>" for more information about a command. Additional help topics: buildconstraint build constraints buildmode build modes c calling between Go and C cache build and test caching environment environment variables filetype file types go.mod the go.mod file gopath GOPATH environment variable gopath-get legacy GOPATH go get goproxy module proxy protocol importpath import path syntax modules modules, module versions, and more module-get module-aware go get module-auth module authentication using go.sum packages package lists and patterns private configuration for downloading non-public code testflag testing flags testfunc testing functions vcs controlling version control with GOVCS Use "go help <topic>" for more information about that topic. C:\Users\xyb>
go version
C:\Users\xyb\Desktop\Go+\gop>go version go version go1.17.4 windows/amd64
C:\Users\xybdiy>go env set GO111MODULE= set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users\xybdiy\AppData\Local\go-build set GOENV=C:\Users\xybdiy\AppData\Roaming\go\env set GOEXE=.exe set GOEXPERIMENT= set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GOMODCACHE=C:\Users\xybdiy\go\pkg\mod set GONOPROXY= set GONOSUMDB= set GOOS=windows set GOPATH=C:\Users\xybdiy\go set GOPRIVATE= set GOPROXY=https://proxy.golang.org,direct set GOROOT=C:\Program Files\Go set GOSUMDB=sum.golang.org set GOTMPDIR= set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64 set GOVCS= set GOVERSION=go1.17.4 set GCCGO=gccgo set AR=ar set CC=gcc set CXX=g++ set CGO_ENABLED=1 set GOMOD=NUL set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\xybdiy\AppData\Local\Temp\go-build209388612=/tmp/go-build -gno-record-gcc-switches C:\Users\xybdiy>