当前位置:网站首页>[Yugong series] go teaching course 002 go language environment installation in July 2022
[Yugong series] go teaching course 002 go language environment installation in July 2022
2022-07-03 20:39:00 【InfoQ】
One 、Go Locale installation
- SDK Kit installation
- VSCode install
- Environment variable configuration


go version # Output version information
go env # environmental information

Two 、 first Go Program

1. Command line run
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
go run test.go

go build test.go ./test.exe
3、 ... and 、Go Language multi version control
gvm install go1.17.6
gvm use go1.17.6
summary

边栏推荐
- AcWing 1460. Where am i?
- 2022 low voltage electrician examination and low voltage electrician simulation examination question bank
- SQL injection - Fundamentals of SQL database operation
- jvm jni 及 pvm pybind11 大批量数据传输及优化
- Battle drag method 1: moderately optimistic, build self-confidence (1)
- [Yugong series] February 2022 Net architecture class 004 ABP vNext used in WPF project
- 【c】 Digital bomb
- Thread, thread stack, method stack, the difference of creating thread
- Commands related to files and directories
- Analysis of gas fee setting under eip1559
猜你喜欢
In 2021, the global foam protection packaging revenue was about $5286.7 million, and it is expected to reach $6615 million in 2028
19、 MySQL -- SQL statements and queries
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
不同业务场景该如何选择缓存的读写策略?
2.1 use of variables
Haven't expressed the artifact yet? Valentine's Day is coming. Please send her a special gift~
一台服务器最大并发 tcp 连接数多少?65535?
From the behind the scenes arena of the ice and snow event, see how digital builders can ensure large-scale events
How to modify the network IP addresses of mobile phones and computers?
How to do Taobao full screen rotation code? Taobao rotation tmall full screen rotation code
随机推荐
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
2.7 format output of values
How can the outside world get values when using nodejs to link MySQL
Global and Chinese market of liquid antifreeze 2022-2028: Research Report on technology, participants, trends, market size and share
Rhcsa third day notes
Thread, thread stack, method stack, the difference of creating thread
CesiumJS 2022^ 源码解读[7] - 3DTiles 的请求、加载处理流程解析
2.4 conversion of different data types
2022 melting welding and thermal cutting examination materials and free melting welding and thermal cutting examination questions
Sparse matrix (triple) creation, transpose, traversal, addition, subtraction, multiplication. C implementation
[effective Objective-C] - block and grand central distribution
Micro service knowledge sorting - three pieces of micro Service Technology
Based on laravel 5.5\5.6\5 X solution to the failure of installing laravel ide helper
In 2021, the global general crop protection revenue was about $52750 million, and it is expected to reach $64730 million in 2028
1.5 learn to find mistakes first
JVM JNI and PVM pybind11 mass data transmission and optimization
强化學習-學習筆記1 | 基礎概念
C 10 new feature [caller parameter expression] solves my confusion seven years ago
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
Global and Chinese market of charity software 2022-2028: Research Report on technology, participants, trends, market size and share