Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加回声2024Go起步教程 #34

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ go下载地址:https://go.dev/dl/
1. 打开搜索框,搜索“编辑系统环境变量”,点击
![alt text](image-3.png)
2. 按照图中步骤,新建环境变量。GOROOT中填写Go的安装位置。**提前创建好Go的工作区文件夹,GOPATH中填写这个文件夹的位置**。有的同学可能GOROOT在安装go的时候已经自动帮你配置了,再检查一遍就好
![alt text](联想截图_20240930141656.png)
![alt text](image-4.png)
![alt text](image111.png)
![alt text](image222.png)
3. 在Go的工作区文件夹创建三个文件夹,分别为bin、pkg和src,我们之后所有的代码都会在src中编写
![alt text](image-12.png)
4. 恭喜你,环境搭建完成,接下啦就可以开始Go的代码学习了!
Expand Down