一、GO的概述
1.1、GO的简介
官网地址:The Go Programming Language
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Go语言表现力强、简洁、干净、高效。它的并发机制使得编写充分利用多核和网络机器的程序变得容易,而其新颖的类型系统使程序构造变得灵活和模块化。Go可以快速编译为机器码,并且具有垃圾收集的便利性和运行时反射的强大功能。它是一种快速的、静态类型的编译语言,感觉像是一种动态类型的解释语言。
1.2、GO的优势
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
-
Go是一种开源编程语言,它使构建简单、可靠和高效的软件变得容易。
Build simple, secure, scalable systems with Go
An open-source programming language supported by Google
Easy to learn and great for teams
Built-in concurrency and a robust standard library
Large ecosystem of partners, communities, and tools
-
使用 Go 构建简单、安全、可扩展的系统
-
谷歌支持的开源编程语言
-
易于学习,非常适合团队
-
内置并发性和强大的标准库
-
由合作伙伴、社区和工具组成的大型生态系统
二、安装
2.1、下载Go
GO官方下载地址:All releases - The Go Programming Language
如果想要下载其他更多的版本以及下载文件类型,可以下拉查看
2.2、安装
1.下载好的安装包如图所示:
2.下面开始安装,基本上都是无脑下一步即可:
3.等待安装成功即可:
4.配置用户和环境变量
-
配置用户变量
-
配置环境变量
5.验证是否安装成功
Win+R后输入cmd进入Windows命令控制台,输入:
go version
出现如图所示表示安装成功
到这,我们GO就安装配置成功啦~~~