当前位置:网站首页>01-Golang-环境搭建
01-Golang-环境搭建
2022-06-27 19:18:00 【爱学习de测试小白】
前言
- 本篇来学习Golang开发环境搭建
安装Go
下载
- 下载:点击跳转下载网址(选择对应系统版本下载,我使用的是windows系统)

安装
- 双击安装即可

- 选择安装目录

配置环境变量
- path中添加环境变量(查看时已自动添加,如未自动添加可手动添加)
| 环境变量 | 说明 |
|---|---|
| GOROOT | 指定SDK的安装目录 |
| Path | 添加SDK的/bin目录 |
| GOPATH | 工作目录 |



- 验证配置,出现如下图即表示安装成功

安装IDE
第一个Demo
package main
import "fmt"
func main() {
fmt.Println("hello world!")
}

边栏推荐
- 实际工作中用到的shell命令 - sed
- MySQL Express - day 1 - basic introduction
- Is it safe to open an account and buy stocks? Who knows
- Flood fighting and disaster relief, overcoming difficulties, and City United premium products rushed to the aid of Yingde to donate loving materials
- Cerebral cortex: predicting children's mathematical skills from task state and resting state brain function connections
- Covering access to 2w+ traffic monitoring equipment, EMQ creates a new digital engine for all elements of traffic in Shenzhen
- BTC and eth recapture the lost land! Leading the market recovery? Encryption will enter the "ice age"!
- Very comprehensive dolphin scheduler installation and use documents
- 1027 Colors in Mars
- VMware vSphere esxi 7.0 installation tutorial
猜你喜欢

SQL server for circular usage
![Unleash the innovative power of open source database | [Gansu] opengauss meetup has come to a successful conclusion](/img/21/9c5f5122270adea9444ff5f2d199ed.jpg)
Unleash the innovative power of open source database | [Gansu] opengauss meetup has come to a successful conclusion

Industry case | see the operation of bank digital transformation from the king of retail

Unity3d button adapts the size according to the text content

“好声音“连唱10年,星空华文如何唱响港交所?

BTC and eth recapture the lost land! Leading the market recovery? Encryption will enter the "ice age"!

SQL Server for循环用法

强制 20 天内开发 APP 后集体被裁,技术负责人怒批:祝“早日倒闭!”

Unity3D Button根据文本内容自适应大小

使用storcli工具配置RAID,收藏这一篇就够了
随机推荐
Question brushing notes - tree (easy) - updating
分享下我是如何做笔记的
基于微信小程序的高校毕业论文管理系统#毕业设计
DO280OpenShift访问控制--security policy和章节实验
mime. Type file content
100 important knowledge points that SQL must master: using functions to process data
Flask----应用案例
A set of system to reduce 10 times the traffic pressure in crowded areas
爱数课实验 | 第九期-利用机器学习方法进行健康智能诊断
SQL必需掌握的100个重要知识点:创建计算字段
OpenSSL 编程 一:基本概念
“好声音“连唱10年,星空华文如何唱响港交所?
基于微信小程序的高校党员之家服务管理系统系统小程序#毕业设计,党员,积极分子,学习,打卡,论坛
KDD 2022 | 图“预训练、提示、微调”范式下的图神经网络泛化框架
灵活的IP网络测试工具——— X-Launch
ICML2022 | 可扩展深度高斯马尔可夫随机场
行业案例|从零售之王看银行数字化转型的运营之道
安全高效,非接触“刷手”身份识别助力疫情防控
Leetcode 1381. Design a stack that supports incremental operations
Love math experiment | Issue 8 - building of Singapore house price prediction model