“f18016b9582695013c9d7d8ec6bfc2ff38346e07”上不存在“git@gitcode.net:s920243400/PaddleDetection.git”
提交 54b83db5 编写于 作者: 彭世瑜's avatar 彭世瑜

fix

上级 aa359795
package main
import "fmt"
func main() {
fmt.Println(2 + 3)
}
fmt.Println("")
}
\ No newline at end of file
......@@ -27,11 +27,22 @@ $ sudo launchctl list | grep ssh
> vscode快捷键:
> 快速复制一行:shift + option + 方向键向下
> 字体大小修改:command +/-
> 注释/取消注释:command + /
> 行注释:command + /
> 块注释:shift + option + a
> 全选:command + a
> 复制:command + c
> 粘贴:command + v
> 删除行:command + shift + k
> 命令行:command + shift + p
> 整体向右移动 tab
> 整体向左移动 shift + tab
## 安装 Golang
安装插件
-[https://marketplace.visualstudio.com/items?itemName=golang.Go](https://marketplace.visualstudio.com/items?itemName=golang.Go)
- [https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner)
## 安装 Golang1.9.2
SDK:Software Development Kit 软件开发工具包
......@@ -101,6 +112,41 @@ $ go version
go version go1.9.2 darwin/amd64
```
## 安装Golang 1.19
```bash
# 查看版本
$ go version
go version go1.19 darwin/amd64
# 查看环境变量
go env
# 使用go mod管理库
$ go env -w GO111MODULE=on
$ go env -w GOPROXY=https://goproxy.cn,direct
```
Go Module代理仓库服务
- 七牛云 https://goproxy.cn/
- 百度: https://goproxy.bj.bcebos.com/
安装git:https://git-scm.com/
配置环境变量
```bash
# Linux
vim /etc/profile
# Mac
vim ~/.bash_profile
export GOROOT=/usr/local
export PATH=$PATH:$GOROOT/bin
```
代码测试
```go
......
......@@ -2,9 +2,9 @@
学习资料
- 视频适合零基础:[【尚硅谷】Golang入门到实战教程](https://www.bilibili.com/video/BV1ME411Y71o)
- 视频适合零基础(1.9.2)[【尚硅谷】Golang入门到实战教程](https://www.bilibili.com/video/BV1ME411Y71o)
- 视频适合有基础:[golang入门到项目实战](https://www.bilibili.com/video/BV1zR4y1t7Wj)
- 视频适合有基础(1.19)[golang入门到项目实战](https://www.bilibili.com/video/BV1zR4y1t7Wj)
## 目录
......@@ -15,4 +15,4 @@
https://www.bilibili.com/video/BV1ME411Y71o?p=27&spm_id_from=pageDriver&vd_source=efbb4dc944fa761b6e016ce2ca5933da
https://www.bilibili.com/video/BV1zR4y1t7Wj
\ No newline at end of file
https://www.bilibili.com/video/BV1zR4y1t7Wj?p=8&spm_id_from=pageDriver&vd_source=efbb4dc944fa761b6e016ce2ca5933da
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册