当前位置:网站首页>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 .
边栏推荐
- I include of spring and Autumn
- Misc Basic test method and knowledge points of CTF
- OSI seven layer model
- CODING DevSecOps 助力金融企业跑出数字加速度
- DVWA range clearance tutorial
- Appium自动化测试基础 — APPium基础操作API(二)
- Crud de MySQL
- Behind the ultra clear image quality of NBA Live Broadcast: an in-depth interpretation of Alibaba cloud video cloud "narrowband HD 2.0" technology
- Ecotone technology has passed ISO27001 and iso21434 safety management system certification
- JMeter performance test: serveragent resource monitoring
猜你喜欢
Bubble sort, insert sort
Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
Ten billion massage machine blue ocean, difficult to be a giant
爱可可AI前沿推介(7.5)
B站做短视频,学抖音死,学YouTube生?
Huawei Hubble incarnation hard technology IPO harvester
I spring and autumn blasting-1
How to paste the contents copied by the computer into mobaxterm? How to copy and paste
Summary of the second lesson
Explanation report of the explosion
随机推荐
sql server学习笔记
Detailed explanation of QT creator breakpoint debugger
Bugku cyberpunk
Appium自动化测试基础 — APPium基础操作API(二)
P6183 [USACO10MAR] The Rock Game S
Coding devsecops helps financial enterprises run out of digital acceleration
如何将 DevSecOps 引入企业?
JS bright blind your eyes date selector
Explanation report of the explosion
What are CSRF, XSS, SQL injection, DDoS attack and timing attack respectively and how to prevent them (PHP interview theory question)
Ctfshow web entry command execution
Can gbase 8A view the location of SQL statement history?
First PR notes
Reconnaissance des caractères easycr
R 熵权法计算权重及综合得分
Bugku's Ah Da
Definition of episodic and batch
Mysql---- function
做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
漫画:优秀的程序员具备哪些属性?