当前位置:网站首页>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!")
}

边栏推荐
- 爱数课实验 | 第七期-基于随机森林的金融危机分析
- MySQL performance optimization index function, hidden, prefix, hash index usage (2)
- 基于微信小程序的高校党员之家服务管理系统系统小程序#毕业设计,党员,积极分子,学习,打卡,论坛
- Day8 ---- 云资讯项目介绍与创建
- 100 important knowledge points that SQL must master: combining where clauses
- SQL Server for循环用法
- 行业案例|从零售之王看银行数字化转型的运营之道
- 开启生态新姿势 | 使用 WrodPress 远程附件存储到 COS
- Navicat Premium连接问题--- Host ‘xxxxxxxx‘ is not allowed to connect to this MySQL server
- 一套系统,减轻人流集中地10倍的通行压力
猜你喜欢

Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)

SQL必需掌握的100个重要知识点:使用函数处理数据

Oracle的CTAS能不能将约束等属性带到新表?

非常全面的DolphinScheduler(海豚调度)安装使用文档

JPA踩坑系列之save方法

Animal breeding production virtual simulation teaching system | Sinovel interactive

覆盖接入2w+交通监测设备,EMQ 为深圳市打造交通全要素数字化新引擎

华为伙伴暨开发者大会2022开源时刻全纪录

How to do a good job of gateway high availability protection in the big promotion scenario

White whoring red team goby & POC, how do you call white whoring?
随机推荐
Flexible IP network test tool -- x-launch
Model reasoning acceleration based on tensorrt
1027 Colors in Mars
100 important knowledge points that SQL must master: sorting and retrieving data
Shuttle hides the return button of the AppBar
100 important knowledge points that SQL must master: combining where clauses
Pycharm common functions - breakpoint debugging
AI 绘画极简教程
100 important knowledge points for SQL: in operator
Leetcode 821. Minimum distance of characters (simple) - sequel
Full record of 2022 open source moment at Huawei partners and Developers Conference
基于微信小程序的警局报案便民服务平台#毕业设计
请教CMS小程序首页的幻灯片在哪里设置?
Experiment of love number lesson | phase V - emotion judgment of commodity review based on machine learning method
让马化腾失望了!Web3.0,毫无希望
互联网 35~40 岁的一线研发人员,对于此岗位的核心竞争力是什么?
如何将队列里面的内容没秒钟执行一次优先级
Galaxy Kirin system LAN file sharing tutorial
Ceph分布式存储
Release of global Unicorn list in 2021: the full list of 301 Unicorn enterprises in China is coming!