当前位置:网站首页>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

边栏推荐
- What are outer chain and inner chain?
- Pangolin compilation error: 'numeric_ limits’ is not a member of ‘std’
- 二十三、1-Bit数据的存储(延迟线/磁芯/DRAM/SRAM/磁带/磁盘/光盘/Flash SSD)
- Gbase8s database for read only clause
- How to fix ORA-01017:用户名/口令无效 登录拒绝
- Gbase8s database for update clause
- Unified exception reporting practice based on bytecode
- 求大数的阶乘 ← C语言
- GBase8s数据库select有ORDER BY 子句6
- Gbase8s database into external clause
猜你喜欢

Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5

Blurred pictures become clear, one button two-color pictures, quickly organize local pictures These 8 online picture tools apply to join your favorites!

Earth observation satellite data

Understanding of P value

ERP Kingdee for preparing BOM

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

ArtBench:第一个类平衡的、高质量的、干净注释的和标准化的艺术品生成数据集

面试突击61:说一下MySQL事务隔离级别?
![[comprehensive case] credit card virtual transaction identification](/img/85/9915ab9a6100a022dfa1c0050d554f.png)
[comprehensive case] credit card virtual transaction identification

How to install oracle19c in Centos8
随机推荐
Titanium dynamic technology: our Zadig landing Road
GBase8s数据库INTO table 子句
Blurred pictures become clear, one button two-color pictures, quickly organize local pictures These 8 online picture tools apply to join your favorites!
GBase8s数据库select有ORDER BY 子句3
How can colleges and universities build future oriented smart campus based on cloud native? Full stack cloud native architecture vs traditional IT architecture
When you are young, you should be awake to fight, and when you are young, you should have the courage to try
参加2022年杭州站Cocos Star Meetings
Introduction to multi project development - business scenario Association basic introduction test payroll
东方财富证券开户安全吗 证券开户办理
GBase8s数据库select有ORDER BY 子句6
Is it safe for Hengtai securities to open an account? Ranking of securities
Pro test! Centos7 deploy PHP + spool
百度云盘不限速下载大文件(2021-11亲测有效)
How to fix ora-01017: invalid user name / password login denied
Gbase8s database for update clause
MIT linear algebra Chinese Notes
huffman编码
【智能QbD风险评估工具】上海道宁为您带来LeanQbD介绍、试用、教程
【LeetCode】14、最长公共前缀
《高难度谈话》突破谈话瓶颈,实现完美沟通