当前位置:网站首页>Win+sublime Text3 + go 1.9.2 environment setup diagram
Win+sublime Text3 + go 1.9.2 environment setup diagram
2022-06-22 09:24:00 【ootw】
First, prepare the installation files
Git 2.16.2 : https://www.git-scm.com/download
GO 1.9.2 : http://golangtc.com/download
Sublime Text 3 : http://www.sublimetext.com/3
The three software are all direct to the next step , There are many online tutorials , I won't say much more , Then there are two things to say :
1.GO Linguistic GO PATH stay windows operating system (win7,win10) How to set ?
Look at the picture below :

Remember to restart the computer after setting , Because this environment variable will only take effect after restarting .
2.Sublime Text 3 install Package control What to do with failure ?
Press studygolang.com Tutorial installation on , You will get the following tips :
Error validating download (got 6f4c264a24d933ce70df5dedcf1dcaeeebe013ee18cced0ef93d5f746d80ef60 instead of eb2297e1a458f27d836c04bb0cbaf282d0e7a3098092775ccb37ca9d6b2e4b7d), please try manual installNew version of the Sublime Text 3 install package control It's time to choose Tools -> Install Package control In this way :

Then wait a minute ( about 1 Minutes! , I don't know why it's so slow ), This window will pop up after success :

I haven't encountered any unsuccessful situations , Please let me know if you encounter , Learn together and make progress .
After successful installation , Install again GOSublime plug-in unit , The steps are as follows :
1. Enter... Here Install Package

like this :

And then go back , You will see the following window , Type in GoSublime:

And then go back , After a while, you can see that the installation status at the lower left shows success , Here's the picture :

For the convenience of compilation , One more... Needs to be installed Golang Build Plug in for , Methods and Go Sublime equally , Input Golang Build Just go .
Then go to GoPath newly build /src/hello/hello.go, Enter the first code :
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world! Hello! , The world !")
}
then Ctrol+B , Input go build You can see what you compiled exe The file . 边栏推荐
- 模板引擎,让交互变得优雅
- Shengdun technology joined dragon lizard community to build a new open source ecosystem
- VMware安装Kali
- Lifecycle of Servlet
- [uni app] actual combat summary (including multi terminal packaging)
- Machine learning | nltk_ Data download error |nltk's stopwords corpus download error solution
- Two threads execute i++ 100 times respectively, and the possible values obtained
- C language question brushing | input a number and output the corresponding value (13)
- Didi's two-sided summary
- Traifik ingress practice
猜你喜欢
[Architect (Part 39)] connecting MySQL database developed by server

【node】快收下爬虫,我们不再为数据发愁

微服务架构概述

Summary and future prospect of transfer learning | community essay solicitation

5道面试题,拿捏String底层原理!

Langchao state-owned assets cloud: state-owned assets as a guide to help state-owned enterprises use data to enrich their wisdom in the cloud

支付-订单案例构建
![[uni app] actual combat summary (including multi terminal packaging)](/img/35/6b0672311b033bc89f1518dd794777.png)
[uni app] actual combat summary (including multi terminal packaging)

VMware安装Kali

模板引擎,让交互变得优雅
随机推荐
PHP output color image with specified height and width for web page background image
Byte/byte? Don't get dizzy!
C语言刷题 | 用putchar输出Love(14)
Share 830 spider IP segments (by analyzing 1g logs)
Quick search system (aso+xls) v1.0
Apprentissage automatique | nltk Erreur de téléchargement des données | solution d'erreur de téléchargement du corpus stopwords pour nltk
Local visualization method of xshell remote server tensorboard/visdom [one-step test is effective]
实现AD环境下多用户隔离FTP
kali木马入侵win7系统
Audio and video 2022 beauty function introduction teach you to play video beauty
Variable things
Opencv daily function histogram correlation (3)
Phpexcel reads the contents of the xls/xlsx table and saves it as a CSV file
5道面试题,拿捏String底层原理!
5 interview questions, grasp the underlying principle of string!
Classic & Cases
Typical cases of final
求余弦的大小
XSS vulnerability attack
In the monorepo learning, execute NPM run build to report error[err\u require\esm] of ES module