当前位置:网站首页>Go project operation method
Go project operation method
2022-07-02 23:14:00 【Yi Yue Wang Chao】
Operating prerequisites : The system has been installed go
Project code :
hello.go
//package hello package main func main() { println("hello golang!") }
Method 1: Direct terminal operation .go file
command :go run hello.go
Method 2: compile .go After the document , Terminal operation .exe file
After compilation, a .exe Compile the file , Direct operation
Method 3:golang Run... In the editor
Be careful golang Medium operation needs to be guaranteed golang Have been set GOROOT.
边栏推荐
- Mask R-CNN
- [Yangcheng cup 2020] easyphp
- 严守工期,确保质量,这家AI数据标注公司做到了!
- Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
- P7072 [csp-j2020] live broadcast Award
- Application of containerization technology in embedded field
- 20220524_ Database process_ Statement retention
- Alibaba cloud award winning experience: how to use polardb-x
- RecyclerView结合ViewBinding的使用
- “一个优秀程序员可抵五个普通程序员!”
猜你喜欢
Realize the linkage between bottomnavigationview and navigation
Deep analysis of data storage in memory - C language
Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code
BBR encounters cubic
xshell配置xforward转发火狐浏览器
Win11启用粘滞键关闭不了怎么办?粘滞键取消了但不管用怎么解决
AES高级加密协议的动机阐述
抖音实战~点赞数量弹框
The motivation of AES Advanced Encryption Protocol
Detailed explanation and application of merging and sorting
随机推荐
Boost库链接错误解决方案
LINQ usage collection in C #
Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
Win11麦克风测试在哪里?Win11测试麦克风的方法
Pytorch training CPU usage continues to grow (Bug)
How does Jerry test the wrong touch rate of keys [chapter]
BBR encounters cubic
Boot actuator - Prometheus use
2016. 增量元素之间的最大差值
Simple square wave generating circuit [51 single chip microcomputer and 8253a]
严守工期,确保质量,这家AI数据标注公司做到了!
[hardware] origin of standard resistance value
Lambda表达式:一篇文章带你通透
ServletContext learning diary 1
CDN 加速,需要域名先备案
力扣刷题(2022-6-28)
Getting started with golang: for Range an alternative method of modifying the values of elements in slices
BBR 遭遇 CUBIC
Tiktok actual combat ~ number of likes pop-up box
Win11系统explorer频繁卡死无响应的三种解决方法