go语言学习资源

文章提供了Go语言的基础学习资源,包括尚硅谷的Golang入门到实战视频教程,以及在Linux系统中配置Go开发环境的步骤。同时展示了Windows11系统的Go环境变量设置和`goversion`信息。
摘要由CSDN通过智能技术生成

中文网

go语言中文网

视频课程

【尚硅谷】Golang入门到实战教程
【视频及配套资料下载】
方式一:尚硅谷官网下载:www.atguigu.com/download.shtml

Go+Goland开发环境配置

进度

https://www.bilibili.com/video/BV1ME411Y71o?p=15&vd_source=371d19339b5f92977a68ea8a0ffcf531

本机的根目录信息

root@long-WUJIE-14:/opt# which go
/snap/bin/go
root@long-WUJIE-14:/opt# cd /snap/bin
root@long-WUJIE-14:/snap/bin# ls
cargo                obs-studio.ffprobe
cargo-clippy         obs-studio.glxinfo
cargo-fmt            obs-studio.srt-ffplay
cargo-miri           obs-studio.srt-file-transmit
ccmake               obs-studio.srt-live-transmit
clippy-driver        obs-studio.srt-tunnel
cmake                obs-studio.vainfo
cmake.ccmake         obs-studio.vdpauinfo
cmake.cmake-gui      obs-studio.vulkaninfo
cmake.cpack          postman
cmake.ctest          rls
cmake-gui            rustc
cpack                rustdoc
ctest                rustfmt
firefox              rustup
firefox.geckodriver  rustup.cargo
geckodriver          rustup.cargo-clippy
go                   rustup.cargo-fmt
gofmt                rustup.cargo-miri
go.gofmt             rustup.clippy-driver
jupyter              rustup.rls
jupyter.ipython      rustup.rustc
jupyter.nbconvert    rustup.rustdoc
obs-studio           rustup.rustfmt
obs-studio.eglinfo   snap-store
obs-studio.ffmpeg    snap-store.ubuntu-software
obs-studio.ffplay    snap-store.ubuntu-software-local-file
root@long-WUJIE-14:/snap/bin# ./go version
go version go1.20.4 linux/amd64

win11的机子的信息

C:\>go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\22382\AppData\Local\go-build
set GOENV=C:\Users\22382\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\coding2022\Go_1\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\coding2022\Go_1
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,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.20.4
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\22382\AppData\Local\Temp\go-build1445868057=/tmp/go-build -gno-record-gcc-switches

C:\>go version
go version go1.20.4 windows/amd64

修改go语言环境配置

go env -w GO111MODULE=off
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

懒回顾,半缘君

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值