当前位置:网站首页>Go learning - build a development environment vscode development environment golang
Go learning - build a development environment vscode development environment golang
2022-06-29 12:37:00 【Coffee cat】
1 Download and install vscode
2 install go plug-in unit

install go plug-in unit
3 Set up go env
// https://golang.google.cn/ golang Official website
// Is already installed go Language environment , And then the command line function
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 Program
Open run master file main.go
debug start-up , Prompt to install plug-ins Click All installation

边栏推荐
- Easy express: we use Zadig to realize 10000 times of construction and deployment, smart operation and maintenance, and release development productivity
- How to install oracle19c in Centos8
- Weekly recommended short video: How did Einstein think?
- Gbase 8s extended external connection 1
- Gbase8s database for update clause
- Engineering practice behind dall-e 2: ensure that the output of the model complies with the content policy
- Set operator of gbase8s database in combined query
- nacos启动报错
- 智能指标驱动的管理和决策平台 Kyligence Zen 全新上线,限量内测中
- 力扣每日一题-第31天-13.罗马数组转整数
猜你喜欢

Helping the ultimate experience, best practice of volcano engine edge computing

Do you think people who learn machinery are terrible?

揭秘百度智能测试在测试自动执行领域实践

在印度与软件相关的发明可不可以申请专利?

Go高级工程师必修课 | 真心建议你来听听,别错过~

Proteus软件初学笔记

How to install oracle19c in Centos8

百度云盘不限速下载大文件(2021-11亲测有效)

QQ集体被盗号,猝不及防的大型社死名场面

ArtBench:第一个类平衡的、高质量的、干净注释的和标准化的艺术品生成数据集
随机推荐
Understanding of P value
GBase8s数据库INTO table 子句
How to view saved passwords of websites
Gbase8s database select has order by Clause 4
联想领像 lenovoimage 部分打印机 驱动 PPD 文件
《Go题库·14》WaitGroup的坑
GBase8s数据库对 STANDARD 或 RAW 结果表排序
oracle 19c : change the user sys/system username pasword under Linux
Zhengda futures liu4 data integration
Gbase8s database into standard and into raw clauses
[JUC series] ThreadLocal of synchronization tool class
The blackened honeysnow ice city wants to grasp the hearts of consumers by marketing?
缓存一致性,删除缓存,写入缓存,缓存击穿,缓存穿透,缓存雪崩
一种可解释的几何深度学习模型,用于基于结构的蛋白质结合位点预测
DALL-E 2背后的工程实践:确保模型的输出符合内容政策
论文复现——AC-FPN:Attention-guided Context Feature Pyramid Network for Object Detection.
对p值的理解
MySQL master-slave synchronous asynchronous replication semi synchronous replication full synchronous replication
Li Kou daily question - day 31 -1779 Find the nearest point with the same X or Y coordinate
MySQL 主从复制原理以及流程