当前位置:网站首页>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 启动, 提示安装插件点击 全部安装

边栏推荐
- nvtmpp
- AUTOCAD——文字显示方式、CAD怎么直接打开天正图纸
- Serving millions of developers, the first techo day Tencent technology open day released 7 "lightweight" products
- 535. TinyURL 的加密与解密 : 设计一个 URL 简化系统
- ERP preparation of BOM basis
- Sofaregistry source code | data synchronization module analysis
- Interview shock 61: tell me about MySQL transaction isolation level?
- Codeforces Round #803 (Div. 2)
- 【综合案例】信用卡虚拟交易识别
- Jerry's configuration of TWS cross pairing [chapter]
猜你喜欢

大家有没有觉得学机械的人很可怕?

多项目开发入门-业务场景关联基础入门测试 工资表

Ensure drinking water safety! Panyu Shawan waterway water quality online monitoring system passed the acceptance

《高难度谈话》突破谈话瓶颈,实现完美沟通
![Jerry's initiation of ear pairing, reconnection, and opening of discoverable and connectable cycle functions [chapter]](/img/d7/f73e748ada302440326a8b1a46f916.png)
Jerry's initiation of ear pairing, reconnection, and opening of discoverable and connectable cycle functions [chapter]

bison使用error死循环的记录

面试突击61:说一下MySQL事务隔离级别?

&3 在浏览器中查看请求报文和响应报文

嵌入式数据库开发编程(四)——DDL、DML

Ttchat x Zadig open source co creates helm access scenarios, and environmental governance can be done!
随机推荐
东方财富证券开户安全吗 证券开户办理
多项目开发入门-业务场景关联基础入门测试 工资表
面试突击61:说一下MySQL事务隔离级别?
Easy express: we use Zadig to realize 10000 times of construction and deployment, smart operation and maintenance, and release development productivity
GBase 8s 扩展外连接1
爱可可AI前沿推介(6.29)
大家有没有觉得学机械的人很可怕?
Syntax of gbase8s database incompatible with for update clause
参加2022年杭州站Cocos Star Meetings
[JUC series] ThreadLocal of synchronization tool class
Zhengda futures liu4 data integration
Ensure drinking water safety! Panyu Shawan waterway water quality online monitoring system passed the acceptance
文件包含之日志中毒(User-Agent)
ArtBench:第一个类平衡的、高质量的、干净注释的和标准化的艺术品生成数据集
ERP编制物料清单 金蝶
Go高级工程师必修课 | 真心建议你来听听,别错过~
Jerry's manual pairing method [chapter]
Gbase8s database select has order by Clause 6
Gbase8s database select has order by Clause 1
torch. Load load model error: can't get attribute 'VAE_ vc‘ on <module ‘__ main__‘ From 'xxxx() run file path‘