当前位置:网站首页>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.
边栏推荐
- Catalogue of digital image processing experiments
- ServletContext learning diary 1
- [chestnut sugar GIS] ArcScene - how to make elevation map with height
- Use the scroll bar of souI when using the real window in souI
- Eight honors and eight disgraces of the programmer version~
- 20220524_数据库过程_语句留档
- Brief introduction of emotional dialogue recognition and generation
- STM32之ADC
- 设置单击右键可以选择用VS Code打开文件
- How does Jerry test the wrong touch rate of keys [chapter]
猜你喜欢
Niuke network: maximum submatrix
Redis expiration policy +conf record
Innovation strength is recognized again! Tencent security MSS was the pioneer of cloud native security guard in 2022
设置单击右键可以选择用VS Code打开文件
Generics and reflection, this is enough
Application of containerization technology in embedded field
Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
Splunk audit setting
最小生成树 Minimum Spanning Tree
解决:exceptiole ‘xxxxx.QRTZ_LOCKS‘ doesn‘t exist以及mysql的my.cnf文件追加lower_case_table_names后启动报错
随机推荐
Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
剑指 Offer II 099. 最小路径之和-双百代码
严守工期,确保质量,这家AI数据标注公司做到了!
SQL进阶语法
Getting started with golang: for Range an alternative method of modifying the values of elements in slices
数字图像处理实验目录
归并排序详解及应用
Chow-Liu Tree
[adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)
Deep analysis of data storage in memory - C language
Potplayer set minimized shortcut keys
Hisilicon VI access video process
景联文科技低价策略帮助AI企业降低模型训练成本
为什么RTOS系统要使用MPU?
The first batch of Tencent cloud completed the first cloud native security maturity assessment in China
Catalogue of digital image processing experiments
Jerry's prototype has no touch, and the reinstallation becomes normal after dismantling [chapter]
Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
20220527_ Database process_ Statement retention
[Yangcheng cup 2020] easyphp