当前位置:网站首页>go 学习-搭建开发环境vscode开发环境golang
go 学习-搭建开发环境vscode开发环境golang
2022-06-29 11:43:00 【咖猫】
1 下载安装vscode
2 安装go 插件

安装go插件
3设置go env
// https://golang.google.cn/ golang 官方网站
// 已经安装go语言运行环境 ,然后命令行 运行
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=on
mkdir gogin
cd gogin
curl https://raw.githubusercontent.com/gin-gonic/examples/master/basic/main.go > main.go
go mod init gogin
go mod tidy
go run main.go

vscode --debug golang 程序
打开运行主文件 main.go
debug 启动, 提示安装插件点击 全部安装

边栏推荐
- GBase 8s 扩展外连接1
- Jerry's about TWS pairing mode configuration [chapter]
- bison使用error死循环的记录
- Is it safe for Orient Fortune Securities to open an account? Handling of securities account opening
- Li Kou daily question - day 31 -13 Maximum perimeter of triangle
- Principle and process of MySQL master-slave replication
- oracle 19c : change the user sys/system username pasword under Linux
- ShanDong Multi-University Training #3
- 每周推荐短视频:爱因斯坦是怎样思考问题的?
- 正大期货留4数据整合
猜你喜欢

ERP编制物料清单 金蝶

Numpy's ndarray array Foundation

参加2022年杭州站Cocos Star Meetings

Helping the ultimate experience, best practice of volcano engine edge computing
![Jerry's about TWS channel configuration [chapter]](/img/2c/58a49dea7a7931c4d1f055548c2493.png)
Jerry's about TWS channel configuration [chapter]

Introduction to multi project development - business scenario Association basic introduction test payroll

地球观测卫星数据

Wonderful! Miaoying technology fully implements Zadig to help container construction, and fully embraces kubernetes and Yunyuan

Unified exception reporting practice based on bytecode

Uncover the practice of Baidu intelligent test in the field of automatic test execution
随机推荐
面试突击61:说一下MySQL事务隔离级别?
Kyligence Zen, an intelligent indicator driven management and decision-making platform, is newly launched and is in limited internal testing
在校生的编程故事
LM07丨细聊期货横截面策略
GBase8s数据库INTO TEMP 子句创建临时表来保存查询结果。
Pro test! Centos7 deploy PHP + spool
How can colleges and universities build future oriented smart campus based on cloud native? Full stack cloud native architecture vs traditional IT architecture
Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5
Syntax of gbase8s database incompatible with for update clause
GBase8s数据库select有ORDER BY 子句
Quick look | the long-awaited 2022 Guangzhou assistant testing engineer's real problem analysis is finally released
《高难度谈话》突破谈话瓶颈,实现完美沟通
Go高级工程师必修课 | 真心建议你来听听,别错过~
GBase8s数据库在组合查询中的集合运算符
ERP preparation of BOM basis
Unified exception reporting practice based on bytecode
Is the table queried by this EMR sparksql node ODPs?
力扣每日一题-第31天-13.三角形的最大周长
& 3 view request message and response message in browser
Li Kou daily question - day 31 -1779 Find the nearest point with the same X or Y coordinate