当前位置:网站首页>Write a go program with vscode in one article
Write a go program with vscode in one article
2022-07-05 15:27:00 【dnice】
Start writing at first go Used in the program vscode, Don't forget it for a long time , Now take time to sort it out , Simple and clear , For your reference .
1. install Go plug-in unit

2. install code runner

After installation , Will find , There is a run button in the upper right corner of the code editing page , After editing the code, click the run button directly . There is no need to input at the terminal go run The command , Improve programming efficiency . Here's the picture :
3.debug
Mouse hovering Run -> Click on Start Debugging, Here's the picture :
The new project debug, An error is as follows :
The project must be initialized first go mod, open terminal go mod init, Here's the picture :
To set breakpoints ,debug, Everything is all right , You can debug the program normally . Here's the picture :
After the above steps are completed , You can write go Procedure and debug 了 .
Commonly used quick completion keywords




Other quick completion , You can try it on your own , Enter English letters to see if there is a prompt .
边栏推荐
- ionic cordova项目修改插件
- 亿咖通科技通过ISO27001与ISO21434安全管理体系认证
- Common PHP interview questions (1) (written PHP interview questions)
- PHP high concurrency and large traffic solution (PHP interview theory question)
- Good article inventory
- GPS original coordinates to Baidu map coordinates (pure C code)
- Anaconda uses China University of science and technology source
- 可转债打新在哪里操作开户是更安全可靠的呢
- 你童年的快乐,都是被它承包了
- Bugku alert
猜你喜欢

Good article inventory

Select sort and bubble sort

Nine hours, nine people, nine doors problem solving Report
![P6183 [USACO10MAR] The Rock Game S](/img/f4/d8c8763c27385d759d117b515fbf0f.png)
P6183 [USACO10MAR] The Rock Game S

Your childhood happiness was contracted by it

MySQL之CRUD
![[JVM] operation instruction](/img/f5/85580495474ef58eafbb421338e93f.png)
[JVM] operation instruction

【jvm】运算指令

Database learning - Database Security

Stop B makes short videos, learns Tiktok to die, learns YouTube to live?
随机推荐
wxml2canvas
Cartoon: what are the attributes of a good programmer?
How to paste the contents copied by the computer into mobaxterm? How to copy and paste
episodic和batch的定义
Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel
OSI seven layer model
Ctfshow web entry explosion
华为哈勃化身硬科技IPO收割机
What are CSRF, XSS, SQL injection, DDoS attack and timing attack respectively and how to prevent them (PHP interview theory question)
Explanation report of the explosion
复现Thinkphp 2.x 任意代码执行漏洞
超越PaLM!北大硕士提出DiVeRSe,全面刷新NLP推理排行榜
Stop B makes short videos, learns Tiktok to die, learns YouTube to live?
The difference between abstract classes and interfaces in PHP (PHP interview theory question)
I spring and autumn blasting-2
机器学习框架简述
JMeter performance test: serveragent resource monitoring
Number protection AXB function! (essence)
你童年的快乐,都是被它承包了
1330:【例8.3】最少步数